Merge
This commit is contained in:
commit
7ce98dbd78
@ -3,11 +3,12 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2005 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
@ -385,8 +386,18 @@ public class CoreDOMImplementationImpl
|
||||
* reference to the default error handler.
|
||||
*/
|
||||
public LSSerializer createLSSerializer() {
|
||||
return new DOMSerializerImpl();
|
||||
}
|
||||
try {
|
||||
Class serializerClass = ObjectFactory.findProviderClass(
|
||||
"com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl",
|
||||
ObjectFactory.findClassLoader(), true);
|
||||
return (LSSerializer) serializerClass.newInstance();
|
||||
}
|
||||
catch (Exception e) {}
|
||||
// Fall back to Xerces' deprecated serializer if
|
||||
// the Xalan based serializer is unavailable.
|
||||
return new DOMSerializerImpl();
|
||||
}
|
||||
|
||||
/**
|
||||
* DOM Level 3 LS CR - Experimental.
|
||||
* Create a new empty input source.
|
||||
|
@ -3145,7 +3145,11 @@ public class SAX2DTM2 extends SAX2DTM
|
||||
m_data.elementAt(-dataIndex+1));
|
||||
}
|
||||
}
|
||||
else if (DTM.ELEMENT_NODE == type || DTM.DOCUMENT_FRAGMENT_NODE == type
|
||||
else if (DTM.ELEMENT_NODE == type)
|
||||
{
|
||||
return getStringValueX(nodeHandle);
|
||||
}
|
||||
else if (DTM.DOCUMENT_FRAGMENT_NODE == type
|
||||
|| DTM.DOCUMENT_NODE == type)
|
||||
{
|
||||
return null;
|
||||
|
@ -123,6 +123,11 @@ import org.xml.sax.ext.LexicalHandler;
|
||||
* @author Sunitha Reddy, Sun Microsystems
|
||||
* @see Serializer
|
||||
* @see org.w3c.dom.ls.LSSerializer
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public abstract class BaseMarkupSerializer
|
||||
implements ContentHandler, DocumentHandler, LexicalHandler,
|
||||
|
@ -3,11 +3,12 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2002,2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
@ -35,6 +36,11 @@ import org.w3c.dom.DocumentFragment;
|
||||
*
|
||||
* @author <a href="mailto:Scott_Boag/CAM/Lotus@lotus.com">Scott Boag</a>
|
||||
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public interface DOMSerializer
|
||||
{
|
||||
|
@ -72,6 +72,9 @@ import org.w3c.dom.ls.LSSerializerFilter;
|
||||
* @author Gopal Sharma, Sun Microsystems
|
||||
* @author Arun Yadav, Sun Microsystems
|
||||
* @author Sunitha Reddy, Sun Microsystems
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, replaced by
|
||||
* {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}
|
||||
*/
|
||||
public class DOMSerializerImpl implements LSSerializer, DOMConfiguration {
|
||||
|
||||
|
@ -3,11 +3,12 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2002,2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
@ -28,9 +29,13 @@ import java.util.Hashtable;
|
||||
/**
|
||||
* Holds the state of the currently serialized element.
|
||||
*
|
||||
*
|
||||
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
|
||||
* @see BaseMarkupSerializer
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public class ElementState
|
||||
{
|
||||
|
@ -3,11 +3,12 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 2000-2002,2004,2005 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
@ -29,6 +30,10 @@ import com.sun.org.apache.xerces.internal.util.EncodingMap;
|
||||
/**
|
||||
* This class represents an encoding.
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public class EncodingInfo {
|
||||
|
||||
|
@ -3,11 +3,12 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2002,2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
@ -36,6 +37,11 @@ import com.sun.org.apache.xerces.internal.util.EncodingMap;
|
||||
* for each encoding.
|
||||
*
|
||||
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public class Encodings
|
||||
{
|
||||
|
@ -3,11 +3,12 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2002,2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
@ -45,8 +46,12 @@ import java.util.Locale;
|
||||
* from value to name. A small entities resource is loaded into memory the
|
||||
* first time any of these methods is called for fast and efficient access.
|
||||
*
|
||||
*
|
||||
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public final class HTMLdtd
|
||||
{
|
||||
|
@ -3,11 +3,12 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2002,2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
@ -32,6 +33,11 @@ import java.io.IOException;
|
||||
* wrapping.
|
||||
*
|
||||
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public class IndentPrinter
|
||||
extends Printer
|
||||
|
@ -3,11 +3,12 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2002,2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
@ -25,6 +26,11 @@ package com.sun.org.apache.xml.internal.serialize;
|
||||
/**
|
||||
* @author <a href="mailto:arkin@intalio..com">Assaf Arkin</a>
|
||||
* @see OutputFormat
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public final class LineSeparator
|
||||
{
|
||||
|
@ -3,11 +3,12 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2002,2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
@ -25,6 +26,11 @@ package com.sun.org.apache.xml.internal.serialize;
|
||||
/**
|
||||
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
|
||||
* @see OutputFormat
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public final class Method
|
||||
{
|
||||
|
@ -3,11 +3,12 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2002,2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
@ -59,6 +60,11 @@ import org.w3c.dom.html.HTMLDocument;
|
||||
* @see Serializer
|
||||
* @see Method
|
||||
* @see LineSeparator
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public class OutputFormat
|
||||
{
|
||||
|
@ -3,11 +3,12 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2002,2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
@ -40,6 +41,11 @@ import java.io.IOException;
|
||||
* extending this class.
|
||||
*
|
||||
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public class Printer
|
||||
{
|
||||
|
@ -3,11 +3,12 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2002,2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
@ -60,6 +61,11 @@ import org.xml.sax.DocumentHandler;
|
||||
* @see ContentHandler
|
||||
* @see OutputFormat
|
||||
* @see DOMSerializer
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public interface Serializer
|
||||
{
|
||||
|
@ -3,11 +3,12 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2002,2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
@ -34,6 +35,11 @@ import java.util.StringTokenizer;
|
||||
*
|
||||
* @author <a href="mailto:Scott_Boag/CAM/Lotus@lotus.com">Scott Boag</a>
|
||||
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public abstract class SerializerFactory
|
||||
{
|
||||
|
@ -3,11 +3,12 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2002,2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
@ -34,6 +35,11 @@ import com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter;
|
||||
*
|
||||
* @author <a href="mailto:Scott_Boag/CAM/Lotus@lotus.com">Scott Boag</a>
|
||||
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
final class SerializerFactoryImpl
|
||||
extends SerializerFactory
|
||||
|
@ -3,11 +3,12 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2002,2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
@ -58,6 +59,11 @@ import org.xml.sax.SAXException;
|
||||
*
|
||||
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
|
||||
* @see Serializer
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public class TextSerializer
|
||||
extends BaseMarkupSerializer
|
||||
|
@ -73,10 +73,16 @@ import org.xml.sax.SAXException;
|
||||
* boundaries, indent lines, and serialize elements on separate
|
||||
* lines. Line terminators will be regarded as spaces, and
|
||||
* spaces at beginning of line will be stripped.
|
||||
*
|
||||
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
|
||||
* @author <a href="mailto:rahul.srivastava@sun.com">Rahul Srivastava</a>
|
||||
* @author Elena Litani IBM
|
||||
* @see Serializer
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public class XML11Serializer
|
||||
extends XMLSerializer {
|
||||
|
@ -84,10 +84,16 @@ import org.xml.sax.helpers.AttributesImpl;
|
||||
* boundaries, indent lines, and serialize elements on separate
|
||||
* lines. Line terminators will be regarded as spaces, and
|
||||
* spaces at beginning of line will be stripped.
|
||||
*
|
||||
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
|
||||
* @author <a href="mailto:rahul.srivastava@sun.com">Rahul Srivastava</a>
|
||||
* @author Elena Litani IBM
|
||||
* @see Serializer
|
||||
*
|
||||
* @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
|
||||
* is replaced by that of Xalan. Main class
|
||||
* {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
|
||||
* by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
|
||||
*/
|
||||
public class XMLSerializer
|
||||
extends BaseMarkupSerializer {
|
||||
|
@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/*
|
||||
* $Id: $
|
||||
*/
|
||||
|
||||
package com.sun.org.apache.xml.internal.serializer;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.w3c.dom.Node;
|
||||
import org.w3c.dom.DOMErrorHandler;
|
||||
import org.w3c.dom.ls.LSSerializerFilter;
|
||||
|
||||
/**
|
||||
* Interface for a DOM serializer capable of serializing DOMs as specified in
|
||||
* the DOM Level 3 Save Recommendation.
|
||||
* <p>
|
||||
* The DOM3Serializer is a facet of a serializer and is obtained from the
|
||||
* asDOM3Serializer() method of the org.apache.xml.serializer.Serializer interface.
|
||||
* A serializer may or may not support a level 3 DOM serializer, if it does not then the
|
||||
* return value from asDOM3Serializer() is null.
|
||||
* <p>
|
||||
* Example:
|
||||
* <pre>
|
||||
* Document doc;
|
||||
* Serializer ser;
|
||||
* OutputStream os;
|
||||
* DOMErrorHandler handler;
|
||||
*
|
||||
* ser = ...;
|
||||
* os = ...;
|
||||
* handler = ...;
|
||||
*
|
||||
* ser.setOutputStream( os );
|
||||
* DOM3Serialzier dser = (DOM3Serialzier)ser.asDOM3Serializer();
|
||||
* dser.setErrorHandler(handler);
|
||||
* dser.serialize(doc);
|
||||
* </pre>
|
||||
*
|
||||
* @see org.apache.xml.serializer.Serializer
|
||||
*
|
||||
* @xsl.usage general
|
||||
*
|
||||
*/
|
||||
public interface DOM3Serializer {
|
||||
/**
|
||||
* Serializes the Level 3 DOM node. Throws an exception only if an I/O
|
||||
* exception occured while serializing.
|
||||
*
|
||||
* This interface is a public API.
|
||||
*
|
||||
* @param node the Level 3 DOM node to serialize
|
||||
* @throws IOException if an I/O exception occured while serializing
|
||||
*/
|
||||
public void serializeDOM3(Node node) throws IOException;
|
||||
|
||||
/**
|
||||
* Sets a DOMErrorHandler on the DOM Level 3 Serializer.
|
||||
*
|
||||
* This interface is a public API.
|
||||
*
|
||||
* @param handler the Level 3 DOMErrorHandler
|
||||
*/
|
||||
public void setErrorHandler(DOMErrorHandler handler);
|
||||
|
||||
/**
|
||||
* Returns a DOMErrorHandler set on the DOM Level 3 Serializer.
|
||||
*
|
||||
* This interface is a public API.
|
||||
*
|
||||
* @return A Level 3 DOMErrorHandler
|
||||
*/
|
||||
public DOMErrorHandler getErrorHandler();
|
||||
|
||||
/**
|
||||
* Sets a LSSerializerFilter on the DOM Level 3 Serializer to filter nodes
|
||||
* during serialization.
|
||||
*
|
||||
* This interface is a public API.
|
||||
*
|
||||
* @param filter the Level 3 LSSerializerFilter
|
||||
*/
|
||||
public void setNodeFilter(LSSerializerFilter filter);
|
||||
|
||||
/**
|
||||
* Returns a LSSerializerFilter set on the DOM Level 3 Serializer to filter nodes
|
||||
* during serialization.
|
||||
*
|
||||
* This interface is a public API.
|
||||
*
|
||||
* @return The Level 3 LSSerializerFilter
|
||||
*/
|
||||
public LSSerializerFilter getNodeFilter();
|
||||
|
||||
/**
|
||||
* Sets the new line character to be used during serialization
|
||||
* @param newLine a String that is the end-of-line character sequence to be
|
||||
* used in serialization.
|
||||
*/
|
||||
public void setNewLine(String newLine);
|
||||
}
|
@ -786,4 +786,13 @@ public class EmptySerializer implements SerializationHandler
|
||||
aMethodIsCalled();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.apache.xml.serializer.Serializer#asDOM3Serializer()
|
||||
*/
|
||||
public Object asDOM3Serializer() throws IOException
|
||||
{
|
||||
couldThrowIOException();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
@ -152,6 +152,24 @@ public final class Encodings extends Object
|
||||
return ei;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if the encoding specified was recognized by the
|
||||
* serializer or not.
|
||||
*
|
||||
* @param encoding The encoding
|
||||
* @return boolean - true if the encoding was recognized else false
|
||||
*/
|
||||
public static boolean isRecognizedEncoding(String encoding)
|
||||
{
|
||||
EncodingInfo ei;
|
||||
|
||||
String normalizedEncoding = toUpperCaseFast(encoding);
|
||||
ei = _encodingInfos.findEncoding(normalizedEncoding);
|
||||
if (ei != null)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* A fast and cheap way to uppercase a String that is
|
||||
* only made of printable ASCII characters.
|
||||
|
@ -3,9 +3,11 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 2003-2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
@ -110,9 +112,29 @@ public interface SerializationHandler
|
||||
public void setNamespaceMappings(NamespaceMappings mappings);
|
||||
|
||||
/**
|
||||
* Flush any pending events currently queued up in the serializer. This will
|
||||
* flush any input that the serializer has which it has not yet sent as
|
||||
* output.
|
||||
* A SerializationHandler accepts SAX-like events, so
|
||||
* it can accumulate attributes or namespace nodes after
|
||||
* a startElement().
|
||||
* <p>
|
||||
* If the SerializationHandler has a Writer or OutputStream,
|
||||
* a call to this method will flush such accumulated
|
||||
* events as a closed start tag for an element.
|
||||
* <p>
|
||||
* If the SerializationHandler wraps a ContentHandler,
|
||||
* a call to this method will flush such accumulated
|
||||
* events as a SAX (not SAX-like) calls to
|
||||
* startPrefixMapping() and startElement().
|
||||
* <p>
|
||||
* If one calls endDocument() then one need not call
|
||||
* this method since a call to endDocument() will
|
||||
* do what this method does. However, in some
|
||||
* circumstances, such as with document fragments,
|
||||
* endDocument() is not called and it may be
|
||||
* necessary to call this method to flush
|
||||
* any pending events.
|
||||
* <p>
|
||||
* For performance reasons this method should not be called
|
||||
* very often.
|
||||
*/
|
||||
public void flushPending() throws SAXException;
|
||||
|
||||
|
@ -3,9 +3,11 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
@ -220,4 +222,20 @@ public interface Serializer {
|
||||
* @return True if serializer has been reset and can be reused
|
||||
*/
|
||||
public boolean reset();
|
||||
|
||||
/**
|
||||
* Return an Object into this serializer to be cast to a DOM3Serializer.
|
||||
* Through the returned object the document to be serialized,
|
||||
* a DOM (Level 3), can be provided to the serializer.
|
||||
* If the serializer does not support casting to a {@link DOM3Serializer}
|
||||
* interface, it should return null.
|
||||
* <p>
|
||||
* In principle only one of asDOM3Serializer() or asContentHander()
|
||||
* should be called.
|
||||
*
|
||||
* @return An Object to be cast to a DOM3Serializer interface into this serializer,
|
||||
* or null if the serializer is not DOM capable
|
||||
* @throws IOException An I/O exception occured
|
||||
*/
|
||||
public Object asDOM3Serializer() throws IOException;
|
||||
}
|
||||
|
@ -1558,6 +1558,21 @@ public abstract class SerializerBase
|
||||
return getProp(name,false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a {@link DOM3Serializer} interface into this serializer. If the
|
||||
* serializer does not support the {@link DOM3Serializer} interface, it should
|
||||
* return null.
|
||||
*
|
||||
* @return A {@link DOM3Serializer} interface into this serializer, or null
|
||||
* if the serializer is not DOM capable
|
||||
* @throws IOException An I/O exception occured
|
||||
* @see org.apache.xml.serializer.Serializer#asDOM3Serializer()
|
||||
*/
|
||||
public Object asDOM3Serializer() throws IOException
|
||||
{
|
||||
return new com.sun.org.apache.xml.internal.serializer.dom3.DOM3SerializerImpl(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the default value of an xsl:output property,
|
||||
* which would be null only if no default value exists
|
||||
|
@ -136,7 +136,7 @@ public final class SerializerFactory
|
||||
if (obj instanceof SerializationHandler)
|
||||
{
|
||||
// this is one of the supplied serializers
|
||||
ser = (Serializer) cls.newInstance();
|
||||
ser = (Serializer) obj;
|
||||
ser.setOutputFormat(format);
|
||||
}
|
||||
else
|
||||
|
@ -537,7 +537,7 @@ abstract public class ToStream extends SerializerBase
|
||||
if (OutputPropertiesFactory.S_KEY_INDENT_AMOUNT.equals(name)) {
|
||||
setIndentAmount(Integer.parseInt(val));
|
||||
} else if (OutputKeys.INDENT.equals(name)) {
|
||||
boolean b = "yes".equals(val) ? true : false;
|
||||
boolean b = val.endsWith("yes") ? true : false;
|
||||
m_doIndent = b;
|
||||
}
|
||||
|
||||
@ -556,7 +556,7 @@ abstract public class ToStream extends SerializerBase
|
||||
break;
|
||||
case 'o':
|
||||
if (OutputKeys.OMIT_XML_DECLARATION.equals(name)) {
|
||||
boolean b = "yes".equals(val) ? true : false;
|
||||
boolean b = val.endsWith("yes") ? true : false;
|
||||
this.m_shouldNotWriteXMLHeader = b;
|
||||
}
|
||||
break;
|
||||
|
@ -1335,4 +1335,12 @@ public final class ToUnknownStream extends SerializerBase
|
||||
ch.length);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.apache.xml.serializer.Serializer#asDOM3Serializer()
|
||||
*/
|
||||
public Object asDOM3Serializer() throws IOException
|
||||
{
|
||||
return m_handler.asDOM3Serializer();
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,150 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.sun.org.apache.xml.internal.serializer.dom3;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import com.sun.org.apache.xml.internal.serializer.DOM3Serializer;
|
||||
import com.sun.org.apache.xml.internal.serializer.SerializationHandler;
|
||||
import com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException;
|
||||
import org.w3c.dom.DOMErrorHandler;
|
||||
import org.w3c.dom.Node;
|
||||
import org.w3c.dom.ls.LSSerializerFilter;
|
||||
|
||||
/**
|
||||
* This class implements the DOM3Serializer interface.
|
||||
*
|
||||
* @xsl.usage internal
|
||||
*/
|
||||
public final class DOM3SerializerImpl implements DOM3Serializer {
|
||||
|
||||
/**
|
||||
* Private class members
|
||||
*/
|
||||
// The DOMErrorHandler
|
||||
private DOMErrorHandler fErrorHandler;
|
||||
|
||||
// A LSSerializerFilter
|
||||
private LSSerializerFilter fSerializerFilter;
|
||||
|
||||
// The end-of-line character sequence
|
||||
private String fNewLine;
|
||||
|
||||
// A SerializationHandler ex. an instance of ToXMLStream
|
||||
private SerializationHandler fSerializationHandler;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param handler An instance of the SerializationHandler interface.
|
||||
*/
|
||||
public DOM3SerializerImpl(SerializationHandler handler) {
|
||||
fSerializationHandler = handler;
|
||||
}
|
||||
|
||||
// Public memebers
|
||||
|
||||
/**
|
||||
* Returns a DOMErrorHandler set on the DOM Level 3 Serializer.
|
||||
*
|
||||
* This interface is a public API.
|
||||
*
|
||||
* @return A Level 3 DOMErrorHandler
|
||||
*/
|
||||
public DOMErrorHandler getErrorHandler() {
|
||||
return fErrorHandler;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a LSSerializerFilter set on the DOM Level 3 Serializer to filter nodes
|
||||
* during serialization.
|
||||
*
|
||||
* This interface is a public API.
|
||||
*
|
||||
* @return The Level 3 LSSerializerFilter
|
||||
*/
|
||||
public LSSerializerFilter getNodeFilter() {
|
||||
return fSerializerFilter;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the Level 3 DOM node by creating an instance of DOM3TreeWalker
|
||||
* which traverses the DOM tree and invokes handler events to serialize
|
||||
* the DOM NOde. Throws an exception only if an I/O exception occured
|
||||
* while serializing.
|
||||
* This interface is a public API.
|
||||
*
|
||||
* @param node the Level 3 DOM node to serialize
|
||||
* @throws IOException if an I/O exception occured while serializing
|
||||
*/
|
||||
public void serializeDOM3(Node node) throws IOException {
|
||||
try {
|
||||
DOM3TreeWalker walker = new DOM3TreeWalker(fSerializationHandler,
|
||||
fErrorHandler, fSerializerFilter, fNewLine);
|
||||
|
||||
walker.traverse(node);
|
||||
} catch (org.xml.sax.SAXException se) {
|
||||
throw new WrappedRuntimeException(se);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets a DOMErrorHandler on the DOM Level 3 Serializer.
|
||||
*
|
||||
* This interface is a public API.
|
||||
*
|
||||
* @param handler the Level 3 DOMErrorHandler
|
||||
*/
|
||||
public void setErrorHandler(DOMErrorHandler handler) {
|
||||
fErrorHandler = handler;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets a LSSerializerFilter on the DOM Level 3 Serializer to filter nodes
|
||||
* during serialization.
|
||||
*
|
||||
* This interface is a public API.
|
||||
*
|
||||
* @param filter the Level 3 LSSerializerFilter
|
||||
*/
|
||||
public void setNodeFilter(LSSerializerFilter filter) {
|
||||
fSerializerFilter = filter;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets a SerializationHandler on the DOM Serializer.
|
||||
*
|
||||
* This interface is a public API.
|
||||
*
|
||||
* @param handler An instance of SerializationHandler
|
||||
*/
|
||||
public void setSerializationHandler(SerializationHandler handler) {
|
||||
fSerializationHandler = handler;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the new line character to be used during serialization
|
||||
* @param newLine a String that is the end-of-line character sequence to be
|
||||
* used in serialization.
|
||||
*/
|
||||
public void setNewLine(String newLine) {
|
||||
fNewLine = newLine;
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,134 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/*
|
||||
* $Id: $
|
||||
*/
|
||||
|
||||
package com.sun.org.apache.xml.internal.serializer.dom3;
|
||||
|
||||
/**
|
||||
* DOM Constants used by the DOM Level 3 LSSerializer implementation.
|
||||
*
|
||||
* @xsl.usage internal
|
||||
*/
|
||||
final class DOMConstants {
|
||||
//
|
||||
// Constants: DOM Level 3 feature ids
|
||||
//
|
||||
public static final String DOM3_REC_URL = "http://www.w3.org/TR/DOM-Level-3-LS";
|
||||
|
||||
public static final String XERCES_URL = "http://xml.apache.org/xerces-2j";
|
||||
|
||||
// The namespace used to qualified DOM Level 3 DOMConfiguration parameters
|
||||
public static final String S_DOM3_PROPERTIES_NS = "{"
|
||||
+ DOMConstants.DOM3_REC_URL + "}";
|
||||
|
||||
public static final String S_XERCES_PROPERTIES_NS = "{"
|
||||
+ DOMConstants.XERCES_URL + "}";
|
||||
|
||||
// xmlns namespaces
|
||||
private static final String XMLNS_URI = "http://www.w3.org/2000/xmlns/";
|
||||
|
||||
// namespace prefix
|
||||
private static final String XMLNS_PREFIX = "xmlns";
|
||||
|
||||
// ************************************************************************
|
||||
// DOM Level 3 DOM Configuration parameter names
|
||||
// ************************************************************************
|
||||
// DOM Level 3 parameters defined in Core
|
||||
public static final String DOM_CANONICAL_FORM = "canonical-form"; // Unsupported, we only appear to support this
|
||||
|
||||
public static final String DOM_CDATA_SECTIONS = "cdata-sections";
|
||||
|
||||
public static final String DOM_CHECK_CHAR_NORMALIZATION = "check-character-normalization"; // Unsupported
|
||||
|
||||
public static final String DOM_COMMENTS = "comments";
|
||||
|
||||
public static final String DOM_DATATYPE_NORMALIZATION = "datatype-normalization"; // Unsupported
|
||||
|
||||
public static final String DOM_ELEMENT_CONTENT_WHITESPACE = "element-content-whitespace";
|
||||
|
||||
public static final String DOM_ENTITIES = "entities";
|
||||
|
||||
public static final String DOM_INFOSET = "infoset";
|
||||
|
||||
public static final String DOM_NAMESPACES = "namespaces";
|
||||
|
||||
public static final String DOM_NAMESPACE_DECLARATIONS = "namespace-declarations";
|
||||
|
||||
public static final String DOM_NORMALIZE_CHARACTERS = "normalize-characters"; // Unsupported
|
||||
|
||||
public static final String DOM_SPLIT_CDATA = "split-cdata-sections";
|
||||
|
||||
public static final String DOM_VALIDATE_IF_SCHEMA = "validate-if-schema"; // Unsopported
|
||||
|
||||
public static final String DOM_VALIDATE = "validate"; // Unsopported
|
||||
|
||||
public static final String DOM_WELLFORMED = "well-formed";
|
||||
|
||||
// DOM Level 3 Save
|
||||
public static final String DOM_DISCARD_DEFAULT_CONTENT = "discard-default-content";
|
||||
|
||||
public static final String DOM_FORMAT_PRETTY_PRINT = "format-pretty-print";
|
||||
|
||||
public static final String DOM_IGNORE_UNKNOWN_CHARACTER_DENORMALIZATIONS = "ignore-unknown-character-denormalizations"; // Unsupported
|
||||
|
||||
public static final String DOM_XMLDECL = "xml-declaration";
|
||||
|
||||
// DOM Properties
|
||||
public static final String DOM_ERROR_HANDLER = "error-handler";
|
||||
|
||||
public static final String DOM_SCHEMA_TYPE = "schema-type"; // Unsupported
|
||||
|
||||
public static final String DOM_SCHEMA_LOCATION = "schema-location"; // Unsupported
|
||||
|
||||
// ************************************************************************
|
||||
|
||||
// XSL Output properties
|
||||
// The xsl:output 'indent' property used in LSSerializer
|
||||
public static final String S_XSL_OUTPUT_INDENT = "indent";
|
||||
|
||||
// The xsl:output 'indent' property used in LSSerializer
|
||||
public static final String S_XSL_OUTPUT_ENCODING = "encoding";
|
||||
|
||||
// The xsl:output 'omit-xml-declaration' property used in LSSerializer
|
||||
public static final String S_XSL_OUTPUT_OMIT_XML_DECL = "omit-xml-declaration";
|
||||
|
||||
// The xerces serializer specific 'omit-xml-declaration' property used in LSSerializer
|
||||
public static final String S_XML_VERSION = "xml-version";
|
||||
|
||||
//
|
||||
public static final String S_XSL_VALUE_ENTITIES = "com/sun/org/apache/xml/internal/serializer/XMLEntities";
|
||||
|
||||
// Parameter values
|
||||
public static final String DOM3_EXPLICIT_TRUE = "explicit:yes";
|
||||
|
||||
public static final String DOM3_DEFAULT_TRUE = "default:yes";
|
||||
|
||||
public static final String DOM3_EXPLICIT_FALSE = "explicit:no";
|
||||
|
||||
public static final String DOM3_DEFAULT_FALSE = "default:no";
|
||||
|
||||
// DOM Exceptions
|
||||
public static final String DOM_EXCEPTION_FEATURE_NOT_FOUND = "FEATURE_NOT_FOUND";
|
||||
|
||||
public static final String DOM_EXCEPTION_FEATURE_NOT_SUPPORTED = "FEATURE_NOT_SUPPORTED";
|
||||
|
||||
public static final String DOM_LSEXCEPTION_SERIALIZER_ERR = "SERIALIZER_ERROR";
|
||||
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/*
|
||||
* $Id: $
|
||||
*/
|
||||
|
||||
package com.sun.org.apache.xml.internal.serializer.dom3;
|
||||
|
||||
import org.w3c.dom.DOMError;
|
||||
import org.w3c.dom.DOMErrorHandler;
|
||||
|
||||
/**
|
||||
* This is the default implementation of the ErrorHandler interface and is
|
||||
* used if one is not provided. The default implementation simply reports
|
||||
* DOMErrors to System.err.
|
||||
*
|
||||
* @xsl.usage internal
|
||||
*/
|
||||
final class DOMErrorHandlerImpl implements DOMErrorHandler {
|
||||
|
||||
/**
|
||||
* Default Constructor
|
||||
*/
|
||||
DOMErrorHandlerImpl() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Implementation of DOMErrorHandler.handleError that
|
||||
* adds copy of error to list for later retrieval.
|
||||
*
|
||||
*/
|
||||
public boolean handleError(DOMError error) {
|
||||
boolean fail = true;
|
||||
String severity = null;
|
||||
if (error.getSeverity() == DOMError.SEVERITY_WARNING) {
|
||||
fail = false;
|
||||
severity = "[Warning]";
|
||||
} else if (error.getSeverity() == DOMError.SEVERITY_ERROR) {
|
||||
severity = "[Error]";
|
||||
} else if (error.getSeverity() == DOMError.SEVERITY_FATAL_ERROR) {
|
||||
severity = "[Fatal Error]";
|
||||
}
|
||||
|
||||
System.err.println(severity + ": " + error.getMessage() + "\t");
|
||||
System.err.println("Type : " + error.getType() + "\t" + "Related Data: "
|
||||
+ error.getRelatedData() + "\t" + "Related Exception: "
|
||||
+ error.getRelatedException() );
|
||||
|
||||
return fail;
|
||||
}
|
||||
}
|
@ -0,0 +1,176 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/*
|
||||
* $Id: $
|
||||
*/
|
||||
|
||||
package com.sun.org.apache.xml.internal.serializer.dom3;
|
||||
|
||||
import org.w3c.dom.DOMError;
|
||||
import org.w3c.dom.DOMLocator;
|
||||
|
||||
/**
|
||||
* Implementation of the DOM Level 3 DOMError interface.
|
||||
*
|
||||
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ERROR-Interfaces-DOMError'>DOMError Interface definition from Document Object Model (DOM) Level 3 Core Specification</a>.
|
||||
*
|
||||
* @xsl.usage internal
|
||||
*/
|
||||
|
||||
final class DOMErrorImpl implements DOMError {
|
||||
|
||||
/** private data members */
|
||||
|
||||
// The DOMError Severity
|
||||
private short fSeverity = DOMError.SEVERITY_WARNING;
|
||||
|
||||
// The Error message
|
||||
private String fMessage = null;
|
||||
|
||||
// A String indicating which related data is expected in relatedData.
|
||||
private String fType;
|
||||
|
||||
// The platform related exception
|
||||
private Exception fException = null;
|
||||
|
||||
//
|
||||
private Object fRelatedData;
|
||||
|
||||
// The location of the exception
|
||||
private DOMLocatorImpl fLocation = new DOMLocatorImpl();
|
||||
|
||||
|
||||
//
|
||||
// Constructors
|
||||
//
|
||||
|
||||
/**
|
||||
* Default constructor.
|
||||
*/
|
||||
DOMErrorImpl () {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param severity
|
||||
* @param message
|
||||
* @param type
|
||||
*/
|
||||
DOMErrorImpl(short severity, String message, String type) {
|
||||
fSeverity = severity;
|
||||
fMessage = message;
|
||||
fType = type;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param severity
|
||||
* @param message
|
||||
* @param type
|
||||
* @param exception
|
||||
*/
|
||||
DOMErrorImpl(short severity, String message, String type,
|
||||
Exception exception) {
|
||||
fSeverity = severity;
|
||||
fMessage = message;
|
||||
fType = type;
|
||||
fException = exception;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param severity
|
||||
* @param message
|
||||
* @param type
|
||||
* @param exception
|
||||
* @param relatedData
|
||||
* @param location
|
||||
*/
|
||||
DOMErrorImpl(short severity, String message, String type,
|
||||
Exception exception, Object relatedData, DOMLocatorImpl location) {
|
||||
fSeverity = severity;
|
||||
fMessage = message;
|
||||
fType = type;
|
||||
fException = exception;
|
||||
fRelatedData = relatedData;
|
||||
fLocation = location;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* The severity of the error, either <code>SEVERITY_WARNING</code>,
|
||||
* <code>SEVERITY_ERROR</code>, or <code>SEVERITY_FATAL_ERROR</code>.
|
||||
*
|
||||
* @return A short containing the DOMError severity
|
||||
*/
|
||||
public short getSeverity() {
|
||||
return fSeverity;
|
||||
}
|
||||
|
||||
/**
|
||||
* The DOMError message string.
|
||||
*
|
||||
* @return String
|
||||
*/
|
||||
public String getMessage() {
|
||||
return fMessage;
|
||||
}
|
||||
|
||||
/**
|
||||
* The location of the DOMError.
|
||||
*
|
||||
* @return A DOMLocator object containing the DOMError location.
|
||||
*/
|
||||
public DOMLocator getLocation() {
|
||||
return fLocation;
|
||||
}
|
||||
|
||||
/**
|
||||
* The related platform dependent exception if any.
|
||||
*
|
||||
* @return A java.lang.Exception
|
||||
*/
|
||||
public Object getRelatedException(){
|
||||
return fException;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a String indicating which related data is expected in relatedData.
|
||||
*
|
||||
* @return A String
|
||||
*/
|
||||
public String getType(){
|
||||
return fType;
|
||||
}
|
||||
|
||||
/**
|
||||
* The related DOMError.type dependent data if any.
|
||||
*
|
||||
* @return java.lang.Object
|
||||
*/
|
||||
public Object getRelatedData(){
|
||||
return fRelatedData;
|
||||
}
|
||||
|
||||
public void reset(){
|
||||
fSeverity = DOMError.SEVERITY_WARNING;
|
||||
fException = null;
|
||||
fMessage = null;
|
||||
fType = null;
|
||||
fRelatedData = null;
|
||||
fLocation = null;
|
||||
}
|
||||
|
||||
}// class DOMErrorImpl
|
@ -0,0 +1,180 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/*
|
||||
* $Id: $
|
||||
*/
|
||||
|
||||
package com.sun.org.apache.xml.internal.serializer.dom3;
|
||||
|
||||
import org.w3c.dom.DOMLocator;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
|
||||
/**
|
||||
* <code>DOMLocatorImpl</code> is an implementaion that describes a location (e.g.
|
||||
* where an error occured).
|
||||
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
|
||||
* This class is a copy of the Xerces-2J class org.apache.xerces.dom.DOMLocatorImpl.java v 1.10
|
||||
*
|
||||
* @author Gopal Sharma, SUN Microsystems Inc.
|
||||
* @version $Id:
|
||||
*
|
||||
* @xsl.usage internal
|
||||
*/
|
||||
final class DOMLocatorImpl implements DOMLocator {
|
||||
|
||||
//
|
||||
// Data
|
||||
//
|
||||
|
||||
/**
|
||||
* The column number where the error occured,
|
||||
* or -1 if there is no column number available.
|
||||
*/
|
||||
private final int fColumnNumber;
|
||||
|
||||
/**
|
||||
* The line number where the error occured,
|
||||
* or -1 if there is no line number available.
|
||||
*/
|
||||
private final int fLineNumber;
|
||||
|
||||
/** related data node*/
|
||||
private final Node fRelatedNode;
|
||||
|
||||
/**
|
||||
* The URI where the error occured,
|
||||
* or null if there is no URI available.
|
||||
*/
|
||||
private final String fUri;
|
||||
|
||||
/**
|
||||
* The byte offset into the input source this locator is pointing to or -1
|
||||
* if there is no byte offset available
|
||||
*/
|
||||
private final int fByteOffset;
|
||||
|
||||
/**
|
||||
* The UTF-16, as defined in [Unicode] and Amendment 1 of [ISO/IEC 10646],
|
||||
* offset into the input source this locator is pointing to or -1 if there
|
||||
* is no UTF-16 offset available.
|
||||
*/
|
||||
private final int fUtf16Offset;
|
||||
|
||||
//
|
||||
// Constructors
|
||||
//
|
||||
|
||||
DOMLocatorImpl(){
|
||||
fColumnNumber = -1;
|
||||
fLineNumber = -1;
|
||||
fRelatedNode = null;
|
||||
fUri = null;
|
||||
fByteOffset = -1;
|
||||
fUtf16Offset = -1;
|
||||
}
|
||||
|
||||
DOMLocatorImpl (int lineNumber, int columnNumber, String uri ){
|
||||
fLineNumber = lineNumber ;
|
||||
fColumnNumber = columnNumber ;
|
||||
fUri = uri;
|
||||
|
||||
fRelatedNode = null;
|
||||
fByteOffset = -1;
|
||||
fUtf16Offset = -1;
|
||||
} // DOMLocatorImpl (int lineNumber, int columnNumber, String uri )
|
||||
|
||||
DOMLocatorImpl (int lineNumber, int columnNumber, int utf16Offset, String uri ){
|
||||
fLineNumber = lineNumber ;
|
||||
fColumnNumber = columnNumber ;
|
||||
fUri = uri;
|
||||
fUtf16Offset = utf16Offset;
|
||||
|
||||
|
||||
fRelatedNode = null;
|
||||
fByteOffset = -1;
|
||||
} // DOMLocatorImpl (int lineNumber, int columnNumber, int utf16Offset, String uri )
|
||||
|
||||
DOMLocatorImpl (int lineNumber, int columnNumber, int byteoffset, Node relatedData, String uri ){
|
||||
fLineNumber = lineNumber ;
|
||||
fColumnNumber = columnNumber ;
|
||||
fByteOffset = byteoffset ;
|
||||
fRelatedNode = relatedData ;
|
||||
fUri = uri;
|
||||
|
||||
fUtf16Offset = -1;
|
||||
} // DOMLocatorImpl (int lineNumber, int columnNumber, int offset, Node errorNode, String uri )
|
||||
|
||||
DOMLocatorImpl (int lineNumber, int columnNumber, int byteoffset, Node relatedData, String uri, int utf16Offset ){
|
||||
fLineNumber = lineNumber ;
|
||||
fColumnNumber = columnNumber ;
|
||||
fByteOffset = byteoffset ;
|
||||
fRelatedNode = relatedData ;
|
||||
fUri = uri;
|
||||
fUtf16Offset = utf16Offset;
|
||||
} // DOMLocatorImpl (int lineNumber, int columnNumber, int offset, Node errorNode, String uri )
|
||||
|
||||
|
||||
/**
|
||||
* The line number where the error occured, or -1 if there is no line
|
||||
* number available.
|
||||
*/
|
||||
public int getLineNumber(){
|
||||
return fLineNumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column number where the error occured, or -1 if there is no column
|
||||
* number available.
|
||||
*/
|
||||
public int getColumnNumber(){
|
||||
return fColumnNumber;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* The URI where the error occured, or null if there is no URI available.
|
||||
*/
|
||||
public String getUri(){
|
||||
return fUri;
|
||||
}
|
||||
|
||||
|
||||
public Node getRelatedNode(){
|
||||
return fRelatedNode;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* The byte offset into the input source this locator is pointing to or -1
|
||||
* if there is no byte offset available
|
||||
*/
|
||||
public int getByteOffset(){
|
||||
return fByteOffset;
|
||||
}
|
||||
|
||||
/**
|
||||
* The UTF-16, as defined in [Unicode] and Amendment 1 of [ISO/IEC 10646],
|
||||
* offset into the input source this locator is pointing to or -1 if there
|
||||
* is no UTF-16 offset available.
|
||||
*/
|
||||
public int getUtf16Offset(){
|
||||
return fUtf16Offset;
|
||||
}
|
||||
|
||||
}// class DOMLocatorImpl
|
@ -0,0 +1,177 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/*
|
||||
* $Id: $
|
||||
*/
|
||||
|
||||
package com.sun.org.apache.xml.internal.serializer.dom3;
|
||||
|
||||
import org.w3c.dom.ls.LSOutput;
|
||||
|
||||
import java.io.Writer;
|
||||
import java.io.OutputStream;
|
||||
|
||||
/**
|
||||
* This is a copy of the Xerces-2J class org.apache.xerces.dom.DOMOutputImpl.java
|
||||
*
|
||||
* This class represents an output destination for data.
|
||||
* This interface allows an application to encapsulate information about an
|
||||
* output destination in a single object, which may include a URI, a byte stream
|
||||
* (possibly with a specifiedencoding), a base URI, and/or a character stream.
|
||||
* The exact definitions of a byte stream and a character stream are binding
|
||||
* dependent.
|
||||
* The application is expected to provide objects that implement this interface
|
||||
* whenever such objects are needed. The application can either provide its
|
||||
* own objects that implement this interface, or it can use the generic factory
|
||||
* method DOMImplementationLS.createLSOutput() to create objects that
|
||||
* implement this interface.
|
||||
* The DOMSerializer will use the LSOutput object to determine where to
|
||||
* serialize the output to. The DOMSerializer will look at the different
|
||||
* outputs specified in the LSOutput in the following order to know which one
|
||||
* to output to, the first one that data can be output to will be used:
|
||||
* 1.LSOutput.characterStream
|
||||
* 2.LSOutput.byteStream
|
||||
* 3.LSOutput.systemId
|
||||
* LSOutput objects belong to the application. The DOM implementation will
|
||||
* never modify them (though it may make copies and modify the copies,
|
||||
* if necessary).
|
||||
*
|
||||
*
|
||||
* @author Arun Yadav, Sun Microsytems
|
||||
* @author Gopal Sharma, Sun Microsystems
|
||||
* @version $Id :
|
||||
* @xsl.usage internal
|
||||
*/
|
||||
|
||||
final class DOMOutputImpl implements LSOutput {
|
||||
|
||||
private Writer fCharStream = null;
|
||||
private OutputStream fByteStream = null;
|
||||
private String fSystemId = null;
|
||||
private String fEncoding = null;
|
||||
|
||||
/**
|
||||
* Default Constructor
|
||||
*/
|
||||
DOMOutputImpl() {}
|
||||
|
||||
/**
|
||||
* An attribute of a language and binding dependent type that represents a
|
||||
* writable stream of bytes. If the application knows the character encoding
|
||||
* of the byte stream, it should set the encoding attribute. Setting the
|
||||
* encoding in this way will override any encoding specified in an XML
|
||||
* declaration in the data.
|
||||
*/
|
||||
|
||||
public Writer getCharacterStream(){
|
||||
return fCharStream;
|
||||
};
|
||||
|
||||
/**
|
||||
* An attribute of a language and binding dependent type that represents a
|
||||
* writable stream of bytes. If the application knows the character encoding
|
||||
* of the byte stream, it should set the encoding attribute. Setting the
|
||||
* encoding in this way will override any encoding specified in an XML
|
||||
* declaration in the data.
|
||||
*/
|
||||
|
||||
public void setCharacterStream(Writer characterStream){
|
||||
fCharStream = characterStream;
|
||||
};
|
||||
|
||||
/**
|
||||
* Depending on the language binding in use, this attribute may not be
|
||||
* available. An attribute of a language and binding dependent type that
|
||||
* represents a writable stream to which 16-bit units can be output. The
|
||||
* application must encode the stream using UTF-16 (defined in [Unicode] and
|
||||
* Amendment 1 of [ISO/IEC 10646]).
|
||||
*/
|
||||
|
||||
public OutputStream getByteStream(){
|
||||
return fByteStream;
|
||||
};
|
||||
|
||||
/**
|
||||
* Depending on the language binding in use, this attribute may not be
|
||||
* available. An attribute of a language and binding dependent type that
|
||||
* represents a writable stream to which 16-bit units can be output. The
|
||||
* application must encode the stream using UTF-16 (defined in [Unicode] and
|
||||
* Amendment 1 of [ISO/IEC 10646]).
|
||||
*/
|
||||
|
||||
public void setByteStream(OutputStream byteStream){
|
||||
fByteStream = byteStream;
|
||||
};
|
||||
|
||||
/**
|
||||
* The system identifier, a URI reference [IETF RFC 2396], for this output
|
||||
* destination. If the application knows the character encoding of the
|
||||
* object pointed to by the system identifier, it can set the encoding
|
||||
* using the encoding attribute. If the system ID is a relative URI
|
||||
* reference (see section 5 in [IETF RFC 2396]), the behavior is
|
||||
* implementation dependent.
|
||||
*/
|
||||
|
||||
public String getSystemId(){
|
||||
return fSystemId;
|
||||
};
|
||||
|
||||
/**
|
||||
* The system identifier, a URI reference [IETF RFC 2396], for this output
|
||||
* destination. If the application knows the character encoding of the
|
||||
* object pointed to by the system identifier, it can set the encoding
|
||||
* using the encoding attribute. If the system ID is a relative URI
|
||||
* reference (see section 5 in [IETF RFC 2396]), the behavior is
|
||||
* implementation dependent.
|
||||
*/
|
||||
|
||||
public void setSystemId(String systemId){
|
||||
fSystemId = systemId;
|
||||
};
|
||||
|
||||
/**
|
||||
* The character encoding, if known. The encoding must be a string
|
||||
* acceptable for an XML encoding declaration ([XML 1.0] section 4.3.3
|
||||
* "Character Encoding in Entities"). This attribute has no effect when the
|
||||
* application provides a character stream or string data. For other sources
|
||||
* of input, an encoding specified by means of this attribute will override
|
||||
* any encoding specified in the XML declaration or the Text declaration, or
|
||||
* an encoding obtained from a higher level protocol, such as HTTP
|
||||
* [IETF RFC 2616].
|
||||
*/
|
||||
|
||||
public String getEncoding(){
|
||||
return fEncoding;
|
||||
};
|
||||
|
||||
/**
|
||||
* The character encoding, if known. The encoding must be a string
|
||||
* acceptable for an XML encoding declaration ([XML 1.0] section 4.3.3
|
||||
* "Character Encoding in Entities"). This attribute has no effect when the
|
||||
* application provides a character stream or string data. For other sources
|
||||
* of input, an encoding specified by means of this attribute will override
|
||||
* any encoding specified in the XML declaration or the Text declaration, or
|
||||
* an encoding obtained from a higher level protocol, such as HTTP
|
||||
* [IETF RFC 2616].
|
||||
*/
|
||||
|
||||
public void setEncoding(String encoding){
|
||||
fEncoding = encoding;
|
||||
};
|
||||
|
||||
}//DOMOutputImpl
|
@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/*
|
||||
* $Id: $
|
||||
*/
|
||||
package com.sun.org.apache.xml.internal.serializer.dom3;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
//import org.apache.xerces.dom3.DOMStringList;
|
||||
import org.w3c.dom.DOMStringList;
|
||||
|
||||
/**
|
||||
* This class implemets the DOM Level 3 Core interface DOMStringList.
|
||||
*
|
||||
* @xsl.usage internal
|
||||
*/
|
||||
final class DOMStringListImpl implements DOMStringList {
|
||||
|
||||
//A collection of DOMString values
|
||||
private Vector fStrings;
|
||||
|
||||
/**
|
||||
* Construct an empty list of DOMStringListImpl
|
||||
*/
|
||||
DOMStringListImpl() {
|
||||
fStrings = new Vector();
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct an empty list of DOMStringListImpl
|
||||
*/
|
||||
DOMStringListImpl(Vector params) {
|
||||
fStrings = params;
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct an empty list of DOMStringListImpl
|
||||
*/
|
||||
DOMStringListImpl(String[] params ) {
|
||||
fStrings = new Vector();
|
||||
if (params != null) {
|
||||
for (int i=0; i < params.length; i++) {
|
||||
fStrings.add(params[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.apache.xerces.dom3.DOMStringList#item(int)
|
||||
*/
|
||||
public String item(int index) {
|
||||
try {
|
||||
return (String) fStrings.elementAt(index);
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.apache.xerces.dom3.DOMStringList#getLength()
|
||||
*/
|
||||
public int getLength() {
|
||||
return fStrings.size();
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.apache.xerces.dom3.DOMStringList#contains(String)
|
||||
*/
|
||||
public boolean contains(String param) {
|
||||
return fStrings.contains(param) ;
|
||||
}
|
||||
|
||||
/**
|
||||
* DOM Internal:
|
||||
* Add a <code>DOMString</code> to the list.
|
||||
*
|
||||
* @param domString A string to add to the list
|
||||
*/
|
||||
public void add(String param) {
|
||||
fStrings.add(param);
|
||||
}
|
||||
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,315 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/*
|
||||
* $Id: $
|
||||
*/
|
||||
|
||||
package com.sun.org.apache.xml.internal.serializer.dom3;
|
||||
|
||||
import java.util.Enumeration;
|
||||
import java.util.NoSuchElementException;
|
||||
|
||||
/**
|
||||
* Namespace support for XML document handlers. This class doesn't
|
||||
* perform any error checking and assumes that all strings passed
|
||||
* as arguments to methods are unique symbols. The SymbolTable class
|
||||
* can be used for this purpose.
|
||||
*
|
||||
* Derived from org.apache.xerces.util.NamespaceSupport
|
||||
*
|
||||
* @author Andy Clark, IBM
|
||||
*
|
||||
* @version $Id: Exp $
|
||||
*/
|
||||
public class NamespaceSupport {
|
||||
|
||||
static final String PREFIX_XML = "xml".intern();
|
||||
|
||||
static final String PREFIX_XMLNS = "xmlns".intern();
|
||||
|
||||
/**
|
||||
* The XML Namespace ("http://www.w3.org/XML/1998/namespace"). This is
|
||||
* the Namespace URI that is automatically mapped to the "xml" prefix.
|
||||
*/
|
||||
public final static String XML_URI = "http://www.w3.org/XML/1998/namespace".intern();
|
||||
|
||||
/**
|
||||
* XML Information Set REC
|
||||
* all namespace attributes (including those named xmlns,
|
||||
* whose [prefix] property has no value) have a namespace URI of http://www.w3.org/2000/xmlns/
|
||||
*/
|
||||
public final static String XMLNS_URI = "http://www.w3.org/2000/xmlns/".intern();
|
||||
|
||||
//
|
||||
// Data
|
||||
//
|
||||
|
||||
/**
|
||||
* Namespace binding information. This array is composed of a
|
||||
* series of tuples containing the namespace binding information:
|
||||
* <prefix, uri>. The default size can be set to anything
|
||||
* as long as it is a power of 2 greater than 1.
|
||||
*
|
||||
* @see #fNamespaceSize
|
||||
* @see #fContext
|
||||
*/
|
||||
protected String[] fNamespace = new String[16 * 2];
|
||||
|
||||
/** The top of the namespace information array. */
|
||||
protected int fNamespaceSize;
|
||||
|
||||
// NOTE: The constructor depends on the initial context size
|
||||
// being at least 1. -Ac
|
||||
|
||||
/**
|
||||
* Context indexes. This array contains indexes into the namespace
|
||||
* information array. The index at the current context is the start
|
||||
* index of declared namespace bindings and runs to the size of the
|
||||
* namespace information array.
|
||||
*
|
||||
* @see #fNamespaceSize
|
||||
*/
|
||||
protected int[] fContext = new int[8];
|
||||
|
||||
/** The current context. */
|
||||
protected int fCurrentContext;
|
||||
|
||||
protected String[] fPrefixes = new String[16];
|
||||
|
||||
//
|
||||
// Constructors
|
||||
//
|
||||
|
||||
/** Default constructor. */
|
||||
public NamespaceSupport() {
|
||||
} // <init>()
|
||||
|
||||
//
|
||||
// Public methods
|
||||
//
|
||||
|
||||
/**
|
||||
* @see org.apache.xerces.xni.NamespaceContext#reset()
|
||||
*/
|
||||
public void reset() {
|
||||
|
||||
// reset namespace and context info
|
||||
fNamespaceSize = 0;
|
||||
fCurrentContext = 0;
|
||||
fContext[fCurrentContext] = fNamespaceSize;
|
||||
|
||||
// bind "xml" prefix to the XML uri
|
||||
fNamespace[fNamespaceSize++] = PREFIX_XML;
|
||||
fNamespace[fNamespaceSize++] = XML_URI;
|
||||
// bind "xmlns" prefix to the XMLNS uri
|
||||
fNamespace[fNamespaceSize++] = PREFIX_XMLNS;
|
||||
fNamespace[fNamespaceSize++] = XMLNS_URI;
|
||||
++fCurrentContext;
|
||||
|
||||
} // reset(SymbolTable)
|
||||
|
||||
|
||||
/**
|
||||
* @see org.apache.xerces.xni.NamespaceContext#pushContext()
|
||||
*/
|
||||
public void pushContext() {
|
||||
|
||||
// extend the array, if necessary
|
||||
if (fCurrentContext + 1 == fContext.length) {
|
||||
int[] contextarray = new int[fContext.length * 2];
|
||||
System.arraycopy(fContext, 0, contextarray, 0, fContext.length);
|
||||
fContext = contextarray;
|
||||
}
|
||||
|
||||
// push context
|
||||
fContext[++fCurrentContext] = fNamespaceSize;
|
||||
|
||||
} // pushContext()
|
||||
|
||||
|
||||
/**
|
||||
* @see org.apache.xerces.xni.NamespaceContext#popContext()
|
||||
*/
|
||||
public void popContext() {
|
||||
fNamespaceSize = fContext[fCurrentContext--];
|
||||
} // popContext()
|
||||
|
||||
/**
|
||||
* @see org.apache.xerces.xni.NamespaceContext#declarePrefix(String, String)
|
||||
*/
|
||||
public boolean declarePrefix(String prefix, String uri) {
|
||||
// ignore "xml" and "xmlns" prefixes
|
||||
if (prefix == PREFIX_XML || prefix == PREFIX_XMLNS) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// see if prefix already exists in current context
|
||||
for (int i = fNamespaceSize; i > fContext[fCurrentContext]; i -= 2) {
|
||||
//if (fNamespace[i - 2] == prefix) {
|
||||
if (fNamespace[i - 2].equals(prefix) ) {
|
||||
// REVISIT: [Q] Should the new binding override the
|
||||
// previously declared binding or should it
|
||||
// it be ignored? -Ac
|
||||
// NOTE: The SAX2 "NamespaceSupport" helper allows
|
||||
// re-bindings with the new binding overwriting
|
||||
// the previous binding. -Ac
|
||||
fNamespace[i - 1] = uri;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// resize array, if needed
|
||||
if (fNamespaceSize == fNamespace.length) {
|
||||
String[] namespacearray = new String[fNamespaceSize * 2];
|
||||
System.arraycopy(fNamespace, 0, namespacearray, 0, fNamespaceSize);
|
||||
fNamespace = namespacearray;
|
||||
}
|
||||
|
||||
// bind prefix to uri in current context
|
||||
fNamespace[fNamespaceSize++] = prefix;
|
||||
fNamespace[fNamespaceSize++] = uri;
|
||||
|
||||
return true;
|
||||
|
||||
} // declarePrefix(String,String):boolean
|
||||
|
||||
/**
|
||||
* @see org.apache.xerces.xni.NamespaceContext#getURI(String)
|
||||
*/
|
||||
public String getURI(String prefix) {
|
||||
|
||||
// find prefix in current context
|
||||
for (int i = fNamespaceSize; i > 0; i -= 2) {
|
||||
//if (fNamespace[i - 2] == prefix) {
|
||||
if (fNamespace[i - 2].equals(prefix) ) {
|
||||
return fNamespace[i - 1];
|
||||
}
|
||||
}
|
||||
|
||||
// prefix not found
|
||||
return null;
|
||||
|
||||
} // getURI(String):String
|
||||
|
||||
|
||||
/**
|
||||
* @see org.apache.xerces.xni.NamespaceContext#getPrefix(String)
|
||||
*/
|
||||
public String getPrefix(String uri) {
|
||||
|
||||
// find uri in current context
|
||||
for (int i = fNamespaceSize; i > 0; i -= 2) {
|
||||
//if (fNamespace[i - 1] == uri) {
|
||||
if (fNamespace[i - 1].equals(uri) ) {
|
||||
//if (getURI(fNamespace[i - 2]) == uri)
|
||||
if (getURI(fNamespace[i - 2]).equals(uri) )
|
||||
return fNamespace[i - 2];
|
||||
}
|
||||
}
|
||||
|
||||
// uri not found
|
||||
return null;
|
||||
|
||||
} // getPrefix(String):String
|
||||
|
||||
|
||||
/**
|
||||
* @see org.apache.xerces.xni.NamespaceContext#getDeclaredPrefixCount()
|
||||
*/
|
||||
public int getDeclaredPrefixCount() {
|
||||
return (fNamespaceSize - fContext[fCurrentContext]) / 2;
|
||||
} // getDeclaredPrefixCount():int
|
||||
|
||||
/**
|
||||
* @see org.apache.xerces.xni.NamespaceContext#getDeclaredPrefixAt(int)
|
||||
*/
|
||||
public String getDeclaredPrefixAt(int index) {
|
||||
return fNamespace[fContext[fCurrentContext] + index * 2];
|
||||
} // getDeclaredPrefixAt(int):String
|
||||
|
||||
/**
|
||||
* @see org.apache.xerces.xni.NamespaceContext#getAllPrefixes()
|
||||
*/
|
||||
public Enumeration getAllPrefixes() {
|
||||
int count = 0;
|
||||
if (fPrefixes.length < (fNamespace.length/2)) {
|
||||
// resize prefix array
|
||||
String[] prefixes = new String[fNamespaceSize];
|
||||
fPrefixes = prefixes;
|
||||
}
|
||||
String prefix = null;
|
||||
boolean unique = true;
|
||||
for (int i = 2; i < (fNamespaceSize-2); i += 2) {
|
||||
prefix = fNamespace[i + 2];
|
||||
for (int k=0;k<count;k++){
|
||||
if (fPrefixes[k]==prefix){
|
||||
unique = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (unique){
|
||||
fPrefixes[count++] = prefix;
|
||||
}
|
||||
unique = true;
|
||||
}
|
||||
return new Prefixes(fPrefixes, count);
|
||||
}
|
||||
|
||||
protected final class Prefixes implements Enumeration {
|
||||
private String[] prefixes;
|
||||
private int counter = 0;
|
||||
private int size = 0;
|
||||
|
||||
/**
|
||||
* Constructor for Prefixes.
|
||||
*/
|
||||
public Prefixes(String [] prefixes, int size) {
|
||||
this.prefixes = prefixes;
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see java.util.Enumeration#hasMoreElements()
|
||||
*/
|
||||
public boolean hasMoreElements() {
|
||||
return (counter< size);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see java.util.Enumeration#nextElement()
|
||||
*/
|
||||
public Object nextElement() {
|
||||
if (counter< size){
|
||||
return fPrefixes[counter++];
|
||||
}
|
||||
throw new NoSuchElementException("Illegal access to Namespace prefixes enumeration.");
|
||||
}
|
||||
|
||||
public String toString(){
|
||||
StringBuffer buf = new StringBuffer();
|
||||
for (int i=0;i<size;i++){
|
||||
buf.append(prefixes[i]);
|
||||
buf.append(" ");
|
||||
}
|
||||
|
||||
return buf.toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} // class NamespaceSupport
|
@ -3,9 +3,11 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
@ -99,4 +101,36 @@ public class MsgKey {
|
||||
public static final String ER_FACTORY_PROPERTY_MISSING = "ER_FACTORY_PROPERTY_MISSING";
|
||||
public static final String ER_ENCODING_NOT_SUPPORTED = "ER_ENCODING_NOT_SUPPORTED";
|
||||
|
||||
// DOM Exceptions
|
||||
public static final String ER_FEATURE_NOT_FOUND = "FEATURE_NOT_FOUND";
|
||||
public static final String ER_FEATURE_NOT_SUPPORTED = "FEATURE_NOT_SUPPORTED";
|
||||
public static final String ER_STRING_TOO_LONG = "DOMSTRING_SIZE_ERR";
|
||||
public static final String ER_TYPE_MISMATCH_ERR = "TYPE_MISMATCH_ERR";
|
||||
|
||||
// DOM Level 3 load and save messages
|
||||
public static final String ER_NO_OUTPUT_SPECIFIED = "no-output-specified";
|
||||
public static final String ER_UNSUPPORTED_ENCODING = "unsupported-encoding";
|
||||
public static final String ER_ELEM_UNBOUND_PREFIX_IN_ENTREF = "unbound-prefix-in-entity-reference";
|
||||
public static final String ER_ATTR_UNBOUND_PREFIX_IN_ENTREF = "unbound-prefix-in-entity-reference";
|
||||
public static final String ER_CDATA_SECTIONS_SPLIT = "cdata-sections-splitted";
|
||||
public static final String ER_WF_INVALID_CHARACTER = "wf-invalid-character";
|
||||
public static final String ER_WF_INVALID_CHARACTER_IN_NODE_NAME = "wf-invalid-character-in-node-name";
|
||||
|
||||
// DOM Level 3 Implementation specific Exceptions
|
||||
public static final String ER_UNABLE_TO_SERIALIZE_NODE = "ER_UNABLE_TO_SERIALIZE_NODE";
|
||||
public static final String ER_WARNING_WF_NOT_CHECKED = "ER_WARNING_WF_NOT_CHECKED";
|
||||
|
||||
public static final String ER_WF_INVALID_CHARACTER_IN_COMMENT = "ER_WF_INVALID_CHARACTER_IN_COMMENT";
|
||||
public static final String ER_WF_INVALID_CHARACTER_IN_PI = "ER_WF_INVALID_CHARACTER_IN_PI";
|
||||
public static final String ER_WF_INVALID_CHARACTER_IN_CDATA = "ER_WF_INVALID_CHARACTER_IN_CDATA";
|
||||
public static final String ER_WF_INVALID_CHARACTER_IN_TEXT = "ER_WF_INVALID_CHARACTER_IN_TEXT";
|
||||
public static final String ER_WF_DASH_IN_COMMENT = "ER_WF_DASH_IN_COMMENT";
|
||||
public static final String ER_WF_LT_IN_ATTVAL = "ER_WF_LT_IN_ATTVAL";
|
||||
public static final String ER_WF_REF_TO_UNPARSED_ENT = "ER_WF_REF_TO_UNPARSED_ENT";
|
||||
public static final String ER_WF_REF_TO_EXTERNAL_ENT = "ER_WF_REF_TO_EXTERNAL_ENT";
|
||||
public static final String ER_NS_PREFIX_CANNOT_BE_BOUND = "ER_NS_PREFIX_CANNOT_BE_BOUND";
|
||||
public static final String ER_NULL_LOCAL_ELEMENT_NAME = "ER_NULL_LOCAL_ELEMENT_NAME";
|
||||
public static final String ER_NULL_LOCAL_ATTR_NAME = "ER_NULL_LOCAL_ATTR_NAME";
|
||||
public static final String ER_WRITING_INTERNAL_SUBSET = "ER_WRITING_INTERNAL_SUBSET";
|
||||
|
||||
}
|
||||
|
@ -3,9 +3,11 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
@ -200,6 +202,97 @@ public class SerializerMessages extends ListResourceBundle {
|
||||
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
|
||||
"Warning: The encoding ''{0}'' is not supported by the Java runtime." },
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_FOUND,
|
||||
"The parameter ''{0}'' is not recognized."},
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
|
||||
"The parameter ''{0}'' is recognized but the requested value cannot be set."},
|
||||
|
||||
{MsgKey.ER_STRING_TOO_LONG,
|
||||
"The resulting string is too long to fit in a DOMString: ''{0}''."},
|
||||
|
||||
{MsgKey.ER_TYPE_MISMATCH_ERR,
|
||||
"The value type for this parameter name is incompatible with the expected value type."},
|
||||
|
||||
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
|
||||
"The output destination for data to be written to was null."},
|
||||
|
||||
{MsgKey.ER_UNSUPPORTED_ENCODING,
|
||||
"An unsupported encoding is encountered."},
|
||||
|
||||
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
|
||||
"The node could not be serialized."},
|
||||
|
||||
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
|
||||
"The CDATA Section contains one or more termination markers ']]>'."},
|
||||
|
||||
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
|
||||
"An instance of the Well-Formedness checker could not be created. The well-formed parameter was set to true but well-formedness checking can not be performed."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_INVALID_CHARACTER,
|
||||
"The node ''{0}'' contains invalid XML characters."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
|
||||
"An invalid XML character (Unicode: 0x{0}) was found in the comment."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
|
||||
"An invalid XML character (Unicode: 0x{0}) was found in the processing instructiondata."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
|
||||
"An invalid XML character (Unicode: 0x{0}) was found in the contents of the CDATASection."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
|
||||
"An invalid XML character (Unicode: 0x{0}) was found in the node''s character data content."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
|
||||
"An invalid XML character(s) was found in the {0} node named ''{1}''."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_DASH_IN_COMMENT,
|
||||
"The string \"--\" is not permitted within comments."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_LT_IN_ATTVAL,
|
||||
"The value of attribute \"{1}\" associated with an element type \"{0}\" must not contain the ''<'' character."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
|
||||
"The unparsed entity reference \"&{0};\" is not permitted."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
|
||||
"The external entity reference \"&{0};\" is not permitted in an attribute value."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
|
||||
"The prefix \"{0}\" can not be bound to namespace \"{1}\"."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
|
||||
"The local name of element \"{0}\" is null."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
|
||||
"The local name of attr \"{0}\" is null."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"The replacement text of the entity node \"{0}\" contains an element node \"{1}\" with an unbound prefix \"{2}\"."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"The replacement text of the entity node \"{0}\" contains an attribute node \"{1}\" with an unbound prefix \"{2}\"."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WRITING_INTERNAL_SUBSET,
|
||||
"An error occured while writing the internal subset."
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
|
@ -3,9 +3,11 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
@ -122,7 +124,106 @@ public class SerializerMessages_ca extends ListResourceBundle {
|
||||
"Userinfo may not be specified if host is not specified"},
|
||||
|
||||
{ MsgKey.ER_SCHEME_REQUIRED,
|
||||
"Scheme is required!"}
|
||||
"Scheme is required!"},
|
||||
|
||||
/*
|
||||
* Note to translators: The words 'Properties' and
|
||||
* 'SerializerFactory' in this message are Java class names
|
||||
* and should not be translated.
|
||||
*/
|
||||
{ MsgKey.ER_FACTORY_PROPERTY_MISSING,
|
||||
"L''objecte de propietats passat a SerializerFactory no t\u00e9 cap propietat ''{0}''." },
|
||||
|
||||
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
|
||||
"Av\u00eds: el temps d''execuci\u00f3 de Java no d\u00f3na suport a la codificaci\u00f3 ''{0}''." },
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_FOUND,
|
||||
"El par\u00e0metre ''{0}'' no es reconeix."},
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
|
||||
"El par\u00e0metre ''{0}'' es reconeix per\u00f2 el valor sol\u00b7licitat no es pot establir."},
|
||||
|
||||
{MsgKey.ER_STRING_TOO_LONG,
|
||||
"La cadena resultant \u00e9s massa llarga per cabre en una DOMString: ''{0}''."},
|
||||
|
||||
{MsgKey.ER_TYPE_MISMATCH_ERR,
|
||||
"El tipus de valor per a aquest nom de par\u00e0metre \u00e9s incompatible amb el tipus de valor esperat."},
|
||||
|
||||
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
|
||||
"La destinaci\u00f3 de sortida per a les dades que s'ha d'escriure era nul\u00b7la."},
|
||||
|
||||
{MsgKey.ER_UNSUPPORTED_ENCODING,
|
||||
"S'ha trobat una codificaci\u00f3 no suportada."},
|
||||
|
||||
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
|
||||
"El node no s'ha pogut serialitzat."},
|
||||
|
||||
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
|
||||
"La secci\u00f3 CDATA cont\u00e9 un o m\u00e9s marcadors d'acabament ']]>'."},
|
||||
|
||||
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
|
||||
"No s'ha pogut crear cap inst\u00e0ncia per comprovar si t\u00e9 un format correcte o no. El par\u00e0metre del tipus ben format es va establir en cert, per\u00f2 la comprovaci\u00f3 de format no s'ha pogut realitzar."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_INVALID_CHARACTER,
|
||||
"El node ''{0}'' cont\u00e9 car\u00e0cters XML no v\u00e0lids."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
|
||||
"S''ha trobat un car\u00e0cter XML no v\u00e0lid (Unicode: 0x{0}) en el comentari."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
|
||||
"S''ha trobat un car\u00e0cter XML no v\u00e0lid (Unicode: 0x{0}) en les dades d''instrucci\u00f3 de proc\u00e9s."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
|
||||
"S''ha trobat un car\u00e0cter XML no v\u00e0lid (Unicode: 0x''{0})'' en els continguts de la CDATASection."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
|
||||
"S''ha trobat un car\u00e0cter XML no v\u00e0lid (Unicode: 0x''{0})'' en el contingut de dades de car\u00e0cter del node."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
|
||||
"S''han trobat car\u00e0cters XML no v\u00e0lids al node {0} anomenat ''{1}''."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_DASH_IN_COMMENT,
|
||||
"La cadena \"--\" no est\u00e0 permesa dins dels comentaris."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_LT_IN_ATTVAL,
|
||||
"El valor d''atribut \"{1}\" associat amb un tipus d''element \"{0}\" no pot contenir el car\u00e0cter ''<''."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
|
||||
"La refer\u00e8ncia de l''entitat no analitzada \"&{0};\" no est\u00e0 permesa."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
|
||||
"La refer\u00e8ncia externa de l''entitat \"&{0};\" no est\u00e0 permesa en un valor d''atribut."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
|
||||
"El prefix \"{0}\" no es pot vincular a l''espai de noms \"{1}\"."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
|
||||
"El nom local de l''element \"{0}\" \u00e9s nul."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
|
||||
"El nom local d''atr \"{0}\" \u00e9s nul."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"El text de recanvi del node de l''entitat \"{0}\" cont\u00e9 un node d''element \"{1}\" amb un prefix de no enlla\u00e7at \"{2}\"."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"El text de recanvi del node de l''entitat \"{0}\" cont\u00e9 un node d''atribut \"{1}\" amb un prefix de no enlla\u00e7at \"{2}\"."
|
||||
},
|
||||
|
||||
};
|
||||
return contents;
|
||||
|
@ -3,9 +3,11 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 1999-2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
@ -114,7 +116,106 @@ public class SerializerMessages_cs extends ListResourceBundle {
|
||||
"Nen\u00ed-li ur\u010den hostitel, nelze zadat \u00fadaje o u\u017eivateli."},
|
||||
|
||||
{ MsgKey.ER_SCHEME_REQUIRED,
|
||||
"Je vy\u017eadov\u00e1no sch\u00e9ma!"}
|
||||
"Je vy\u017eadov\u00e1no sch\u00e9ma!"},
|
||||
|
||||
/*
|
||||
* Note to translators: The words 'Properties' and
|
||||
* 'SerializerFactory' in this message are Java class names
|
||||
* and should not be translated.
|
||||
*/
|
||||
{ MsgKey.ER_FACTORY_PROPERTY_MISSING,
|
||||
"Objekt vlastnost\u00ed p\u0159edan\u00fd faktorii SerializerFactory neobsahuje vlastnost ''{0}''. " },
|
||||
|
||||
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
|
||||
"Varov\u00e1n\u00ed: K\u00f3dov\u00e1n\u00ed ''{0}'' nen\u00ed v b\u011bhov\u00e9m prost\u0159ed\u00ed Java podporov\u00e1no." },
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_FOUND,
|
||||
"Parametr ''{0}'' nebyl rozpozn\u00e1n."},
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
|
||||
"Parametr ''{0}'' byl rozpozn\u00e1n, ale nelze nastavit po\u017eadovanou hodnotu."},
|
||||
|
||||
{MsgKey.ER_STRING_TOO_LONG,
|
||||
"V\u00fdsledn\u00fd \u0159et\u011bzec je p\u0159\u00edli\u0161 dlouh\u00fd pro \u0159et\u011bzec DOMString: ''{0}''."},
|
||||
|
||||
{MsgKey.ER_TYPE_MISMATCH_ERR,
|
||||
"Typ hodnoty pro tento n\u00e1zev parametru nen\u00ed kompatibiln\u00ed s o\u010dek\u00e1van\u00fdm typem hodnoty."},
|
||||
|
||||
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
|
||||
"C\u00edlov\u00e9 um\u00edst\u011bn\u00ed v\u00fdstupu pro data ur\u010den\u00e1 k z\u00e1pisu je rovno hodnot\u011b Null. "},
|
||||
|
||||
{MsgKey.ER_UNSUPPORTED_ENCODING,
|
||||
"Bylo nalezeno nepodporovan\u00e9 k\u00f3dov\u00e1n\u00ed."},
|
||||
|
||||
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
|
||||
"Nelze prov\u00e9st serializaci uzlu. "},
|
||||
|
||||
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
|
||||
"Sekce CDATA obsahuje jednu nebo v\u00edce ukon\u010dovac\u00edch zna\u010dek ']]>'."},
|
||||
|
||||
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
|
||||
"Nelze vytvo\u0159it instanci modulu pro kontrolu spr\u00e1vn\u00e9ho utvo\u0159en\u00ed. Parametr spr\u00e1vn\u00e9ho utvo\u0159en\u00ed byl nastaven na hodnotu true, nepoda\u0159ilo se v\u0161ak zkontrolovat spr\u00e1vnost utvo\u0159en\u00ed. "
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_INVALID_CHARACTER,
|
||||
"Uzel ''{0}'' obsahuje neplatn\u00e9 znaky XML. "
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
|
||||
"V pozn\u00e1mce byl zji\u0161t\u011bn neplatn\u00fd znak XML (Unicode: 0x{0})."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
|
||||
"V datech instrukce zpracov\u00e1n\u00ed byl nalezen neplatn\u00fd znak XML (Unicode: 0x{0})."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
|
||||
"V odd\u00edlu CDATASection byl nalezen neplatn\u00fd znak XML (Unicode: 0x{0})."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
|
||||
"V obsahu znakov\u00fdch dat uzlu byl nalezen neplatn\u00fd znak XML (Unicode: 0x{0})."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
|
||||
"V objektu {0} s n\u00e1zvem ''{1}'' byl nalezen neplatn\u00fd znak XML. "
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_DASH_IN_COMMENT,
|
||||
"V pozn\u00e1mk\u00e1ch nen\u00ed povolen \u0159et\u011bzec \"--\"."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_LT_IN_ATTVAL,
|
||||
"Hodnota atributu \"{1}\" souvisej\u00edc\u00edho s typem prvku \"{0}\" nesm\u00ed obsahovat znak ''<''."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
|
||||
"Odkaz na neanalyzovanou entitu \"&{0};\" nen\u00ed povolen."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
|
||||
"Extern\u00ed odkaz na entitu \"&{0};\" nen\u00ed v hodnot\u011b atributu povolen."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
|
||||
"P\u0159edpona \"{0}\" nesm\u00ed b\u00fdt v\u00e1zan\u00e1 k oboru n\u00e1zv\u016f \"{1}\"."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
|
||||
"Lok\u00e1ln\u00ed n\u00e1zev prvku \"{0}\" m\u00e1 hodnotu Null. "
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
|
||||
"Lok\u00e1ln\u00ed n\u00e1zev atributu \"{0}\" m\u00e1 hodnotu Null. "
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"Nov\u00fd text uzlu entity \"{0}\" obsahuje uzel prvku \"{1}\" s nesv\u00e1zanou p\u0159edponou \"{2}\"."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"Nov\u00fd text uzlu entity \"{0}\" obsahuje uzel atributu \"{1}\" s nesv\u00e1zanou p\u0159edponou \"{2}\". "
|
||||
},
|
||||
|
||||
};
|
||||
return contents;
|
||||
|
@ -3,9 +3,11 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
@ -200,6 +202,93 @@ public class SerializerMessages_de extends ListResourceBundle {
|
||||
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
|
||||
"Warnung: Die Codierung \"{0}\" wird nicht von der Java-Laufzeit unterst\u00FCtzt." },
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_FOUND,
|
||||
"Der Parameter ''{0}'' wird nicht erkannt."},
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
|
||||
"Der Parameter ''{0}'' wird erkannt, der angeforderte Wert kann jedoch nicht festgelegt werden."},
|
||||
|
||||
{MsgKey.ER_STRING_TOO_LONG,
|
||||
"Die Ergebniszeichenfolge ist zu lang f\u00fcr eine DOM-Zeichenfolge: ''{0}''."},
|
||||
|
||||
{MsgKey.ER_TYPE_MISMATCH_ERR,
|
||||
"Der Werttyp f\u00fcr diesen Parameternamen ist nicht kompatibel mit dem erwarteten Werttyp."},
|
||||
|
||||
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
|
||||
"Das Ausgabeziel f\u00fcr die zu schreibenden Daten war leer."},
|
||||
|
||||
{MsgKey.ER_UNSUPPORTED_ENCODING,
|
||||
"Eine nicht unterst\u00fctzte Codierung wurde festgestellt."},
|
||||
|
||||
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
|
||||
"Der Knoten konnte nicht serialisiert werden."},
|
||||
|
||||
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
|
||||
"Der Abschnitt CDATA enth\u00e4lt mindestens eine Beendigungsmarkierung ']]>'."},
|
||||
|
||||
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
|
||||
"Eine Instanz des Pr\u00fcfprogramms f\u00fcr korrekte Formatierung konnte nicht erstellt werden. F\u00fcr den korrekt formatierten Parameter wurde der Wert 'True' festgelegt, die Pr\u00fcfung auf korrekte Formatierung kann jedoch nicht durchgef\u00fchrt werden."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_INVALID_CHARACTER,
|
||||
"Der Knoten ''{0}'' enth\u00e4lt ung\u00fcltige XML-Zeichen."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
|
||||
"Im Kommentar wurde ein ung\u00fcltiges XML-Zeichen (Unicode: 0x{0}) gefunden."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
|
||||
"In der Verarbeitungsanweisung wurde ein ung\u00fcltiges XML-Zeichen (Unicode: 0x{0}) gefunden."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
|
||||
"Im Inhalt von CDATASection wurde ein ung\u00fcltiges XML-Zeichen (Unicode: 0x{0}) gefunden."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
|
||||
"Ein ung\u00fcltiges XML-Zeichen (Unicode: 0x{0}) wurde im Inhalt der Zeichendaten des Knotens gefunden."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
|
||||
"Ung\u00fcltige XML-Zeichen wurden gefunden in {0} im Knoten ''{1}''."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_DASH_IN_COMMENT,
|
||||
"Die Zeichenfolge \"--\" ist innerhalb von Kommentaren nicht zul\u00e4ssig."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_LT_IN_ATTVAL,
|
||||
"Der Wert des Attributs \"{1}\" mit einem Elementtyp \"{0}\" darf nicht das Zeichen ''<'' enthalten."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
|
||||
"Der syntaktisch nicht analysierte Entit\u00e4tenverweis \"&{0};\" ist nicht zul\u00e4ssig."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
|
||||
"Der externe Entit\u00e4tenverweis \"&{0};\" ist in einem Attributwert nicht zul\u00e4ssig."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
|
||||
"Das Pr\u00e4fix \"{0}\" kann nicht an den Namensbereich \"{1}\" gebunden werden."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
|
||||
"Der lokale Name von Element \"{0}\" ist nicht angegeben."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
|
||||
"Der lokale Name des Attributs \"{0}\" ist nicht angegeben."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"Der Ersatztext des Entit\u00e4tenknotens \"{0}\" enth\u00e4lt einen Elementknoten \"{1}\" mit einem nicht gebundenen Pr\u00e4fix \"{2}\"."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"Der Ersatztext des Entit\u00e4tenknotens \"{0}\" enth\u00e4lt einen Attributknoten \"{1}\" mit einem nicht gebundenen Pr\u00e4fix \"{2}\"."
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
|
@ -3,9 +3,11 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
@ -198,8 +200,95 @@ public class SerializerMessages_es extends ListResourceBundle {
|
||||
"El objeto de propiedades transferido a SerializerFactory no tiene una propiedad ''{0}''." },
|
||||
|
||||
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
|
||||
"Advertencia: el tiempo de ejecuci\u00F3n de Java no soporta la codificaci\u00F3n ''{0}''." },
|
||||
"Aviso: La codificaci\u00f3n ''{0}'' no est\u00e1 soportada por Java Runtime." },
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_FOUND,
|
||||
"El par\u00e1metro ''{0}'' no se reconoce."},
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
|
||||
"Se reconoce el par\u00e1metro ''{0}'' pero no puede establecerse el valor solicitado."},
|
||||
|
||||
{MsgKey.ER_STRING_TOO_LONG,
|
||||
"La serie producida es demasiado larga para ajustarse a DOMString: ''{0}''."},
|
||||
|
||||
{MsgKey.ER_TYPE_MISMATCH_ERR,
|
||||
"El tipo de valor para este nombre de par\u00e1metro es incompatible con el tipo de valor esperado."},
|
||||
|
||||
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
|
||||
"El destino de salida de escritura de los datos es nulo."},
|
||||
|
||||
{MsgKey.ER_UNSUPPORTED_ENCODING,
|
||||
"Se ha encontrado una codificaci\u00f3n no soportada."},
|
||||
|
||||
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
|
||||
"No se ha podido serializar el nodo."},
|
||||
|
||||
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
|
||||
"La secci\u00f3n CDATA contiene uno o m\u00e1s marcadores ']]>' de terminaci\u00f3n."},
|
||||
|
||||
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
|
||||
"No se ha podido crear una instancia del comprobador de gram\u00e1tica correcta. El par\u00e1metro well-formed se ha establecido en true pero no se puede realizar la comprobaci\u00f3n de gram\u00e1tica correcta."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_INVALID_CHARACTER,
|
||||
"El nodo ''{0}'' contiene caracteres XML no v\u00e1lidos."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
|
||||
"Se ha encontrado un car\u00e1cter XML no v\u00e1lido (Unicode: 0x{0}) en el comentario."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
|
||||
"Se ha encontrado un car\u00e1cter XML no v\u00e1lido (Unicode: 0x{0}) en los datos de la instrucci\u00f3n de proceso."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
|
||||
"Se ha encontrado un car\u00e1cter XML no v\u00e1lido (Unicode: 0x{0}) en el contenido de CDATASection."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
|
||||
"Se ha encontrado un car\u00e1cter XML no v\u00e1lido (Unicode: 0x{0}) en el contenido de datos de caracteres del nodo."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
|
||||
"Se ha encontrado un car\u00e1cter o caracteres XML no v\u00e1lidos en el nodo {0} denominado ''{1}''."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_DASH_IN_COMMENT,
|
||||
"No se permite la serie \"--\" dentro de los comentarios."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_LT_IN_ATTVAL,
|
||||
"El valor del atributo \"{1}\" asociado a un tipo de elemento \"{0}\" no debe contener el car\u00e1cter ''''<''''."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
|
||||
"No se permite la referencia de entidad no analizada \"&{0};\"."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
|
||||
"La referencia de entidad externa \"&{0};\" no est\u00e1 permitida en un valor de atributo."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
|
||||
"No se puede encontrar el prefijo \"{0}\" en el espacio de nombres \"{1}\"."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
|
||||
"El nombre local del elemento \"{0}\" es null."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
|
||||
"El nombre local del atributo \"{0}\" es null."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"El texto de sustituci\u00f3n del nodo de entidad \"{0}\" contiene un nodo de elemento \"{1}\" con un prefijo no enlazado \"{2}\"."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"El texto de sustituci\u00f3n del nodo de entidad \"{0}\" contiene un nodo de atributo \"{1}\" con un prefijo no enlazado \"{2}\"."
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
|
@ -3,9 +3,11 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
@ -200,6 +202,93 @@ public class SerializerMessages_fr extends ListResourceBundle {
|
||||
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
|
||||
"Avertissement : l''encodage ''{0}'' n''est pas pris en charge par l''ex\u00E9cution Java." },
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_FOUND,
|
||||
"Le param\u00e8tre ''{0}'' n''est pas reconnu."},
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
|
||||
"Le param\u00e8tre ''{0}'' est reconnu mas la valeur demand\u00e9e ne peut pas \u00eatre d\u00e9finie."},
|
||||
|
||||
{MsgKey.ER_STRING_TOO_LONG,
|
||||
"La cha\u00eene obtenue est trop longue pour un DOMString : ''{0}''."},
|
||||
|
||||
{MsgKey.ER_TYPE_MISMATCH_ERR,
|
||||
"Le type de valeur de ce param\u00e8tre est incompatible avec le type de valeur attendu."},
|
||||
|
||||
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
|
||||
"La sortie de destination des donn\u00e9es \u00e0 \u00e9crire \u00e9tait vide."},
|
||||
|
||||
{MsgKey.ER_UNSUPPORTED_ENCODING,
|
||||
"Codage non pris en charge."},
|
||||
|
||||
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
|
||||
"Le noeud ne peut pas \u00eatre s\u00e9rialis\u00e9."},
|
||||
|
||||
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
|
||||
"La section CDATA contient un ou plusieurs marqueurs de fin ']]>'."},
|
||||
|
||||
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
|
||||
"Aucune instance du programme de v\u00e9rification de la formation n'a pu \u00eatre cr\u00e9\u00e9e. La valeur true a \u00e9t\u00e9 attribu\u00e9e au param\u00e8tre well-formed mais la v\u00e9rification de la formation n'a pas pu \u00eatre effectu\u00e9e."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_INVALID_CHARACTER,
|
||||
"Le noeud ''{0}'' contient des caract\u00e8res XML non valides."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
|
||||
"Un caract\u00e8re XML non valide (Unicode : 0x{0}) a \u00e9t\u00e9 trouv\u00e9 dans le commentaire."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
|
||||
"Un caract\u00e8re XML non valide (Unicode : 0x{0}) a \u00e9t\u00e9 trouv\u00e9 dans les donn\u00e9es de l''instruction de traitement."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
|
||||
"Un caract\u00e8re XML non valide (Unicode: 0x{0}) a \u00e9t\u00e9 trouv\u00e9 dans le contenu de la CDATASection"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
|
||||
"Un caract\u00e8re XML non valide (Unicode : 0x{0}) a \u00e9t\u00e9 trouv\u00e9 dans le contenu des donn\u00e9es de type caract\u00e8res du noeud."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
|
||||
"Un ou plusieurs caract\u00e8res non valides ont \u00e9t\u00e9 trouv\u00e9s dans le noeud {0} nomm\u00e9 ''{1}''."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_DASH_IN_COMMENT,
|
||||
"La cha\u00eene \"--\" est interdite dans des commentaires."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_LT_IN_ATTVAL,
|
||||
"La valeur de l''attribut \"{1}\" associ\u00e9 \u00e0 un type d''\u00e9l\u00e9ment \"{0}\" ne doit pas contenir le caract\u00e8re ''<''."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
|
||||
"La r\u00e9f\u00e9rence d''entit\u00e9 non analys\u00e9e \"&{0};\" n''est pas admise."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
|
||||
"La r\u00e9f\u00e9rence d''entit\u00e9 externe \"&{0};\" n''est pas admise dans une valeur d''attribut."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
|
||||
"Le pr\u00e9fixe \"{0}\" ne peut pas \u00eatre li\u00e9 \u00e0 l''espace de noms \"{1}\"."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
|
||||
"Le nom local de l''\u00e9l\u00e9ment \"{0}\" a une valeur null."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
|
||||
"Le nom local de l''attribut \"{0}\" a une valeur null."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"le texte de remplacement du noeud de l''entit\u00e9 \"{0}\" contaient un noeud d''\u00e9l\u00e9ment \"{1}\" avec un pr\u00e9fixe non li\u00e9 \"{2}\"."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"Le texte de remplacement du noeud de l''entit\u00e9 \"{0}\" contient un noeud d''attribut \"{1}\" avec un pr\u00e9fixe non li\u00e9 \"{2}\"."
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
|
@ -3,9 +3,11 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
@ -200,6 +202,93 @@ public class SerializerMessages_it extends ListResourceBundle {
|
||||
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
|
||||
"Avvertenza: la codifica ''{0}'' non \u00E8 supportata da Java Runtime." },
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_FOUND,
|
||||
"Il parametro ''{0}'' non \u00e8 riconosciuto."},
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
|
||||
"Il parametro ''{0}'' \u00e8 riconosciuto ma non \u00e8 possibile impostare il valore richiesto."},
|
||||
|
||||
{MsgKey.ER_STRING_TOO_LONG,
|
||||
"La stringa risultante \u00e8 troppo lunga per essere inserita in DOMString: ''{0}''."},
|
||||
|
||||
{MsgKey.ER_TYPE_MISMATCH_ERR,
|
||||
"Il tipo di valore per questo nome di parametro non \u00e8 compatibile con il tipo di valore previsto."},
|
||||
|
||||
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
|
||||
"La destinazione di output in cui scrivere i dati era nulla."},
|
||||
|
||||
{MsgKey.ER_UNSUPPORTED_ENCODING,
|
||||
"\u00c8 stata rilevata una codifica non supportata."},
|
||||
|
||||
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
|
||||
"Impossibile serializzare il nodo."},
|
||||
|
||||
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
|
||||
"La Sezione CDATA contiene uno o pi\u00f9 markers di termine ']]>'."},
|
||||
|
||||
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
|
||||
"Impossibile creare un'istanza del controllore Well-Formedness. Il parametro well-formed \u00e8 stato impostato su true ma non \u00e8 possibile eseguire i controlli well-formedness."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_INVALID_CHARACTER,
|
||||
"Il nodo ''{0}'' contiene caratteri XML non validi."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
|
||||
"Trovato un carattere XML non valido (Unicode: 0x{0}) nel commento."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
|
||||
"Carattere XML non valido (Unicode: 0x{0}) rilevato nell''elaborazione di instructiondata."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
|
||||
"Carattere XML non valido (Unicode: 0x{0}) rilevato nel contenuto di CDATASection."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
|
||||
"Carattere XML non valido (Unicode: 0x{0}) rilevato nel contenuto dati di caratteri del nodo. "
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
|
||||
"Carattere XML non valido rilevato nel nodo {0} denominato ''{1}''."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_DASH_IN_COMMENT,
|
||||
"La stringa \"--\" non \u00e8 consentita nei commenti."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_LT_IN_ATTVAL,
|
||||
"Il valore dell''''attributo \"{1}\" associato con un tipo di elemento \"{0}\" non deve contenere il carattere ''<''."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
|
||||
"Il riferimento entit\u00e0 non analizzata \"&{0};\" non \u00e8 permesso."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
|
||||
"Il riferimento all''''entit\u00e0 esterna \"&{0};\" non \u00e8 permesso in un valore attributo."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
|
||||
"Il prefisso \"{0}\" non pu\u00f2 essere associato allo spazio nome \"{1}\"."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
|
||||
"Il nome locale dell''''elemento \"{0}\" \u00e8 null."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
|
||||
"Il nome locale dell''''attributo \"{0}\" \u00e8 null."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"Il testo di sostituzione del nodo di entit\u00e0 \"{0}\" contiene un nodo di elemento \"{1}\" con un prefisso non associato \"{2}\"."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"Il testo di sostituzione del nodo di entit\u00e0 \"{0}\" contiene un nodo di attributo \"{1}\" con un prefisso non associato \"{2}\"."
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
|
@ -3,9 +3,11 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
@ -200,6 +202,93 @@ public class SerializerMessages_ja extends ListResourceBundle {
|
||||
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
|
||||
"\u8B66\u544A: \u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0''{0}''\u306F\u3001Java\u30E9\u30F3\u30BF\u30A4\u30E0\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002" },
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_FOUND,
|
||||
"\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc ''{0}'' \u306f\u8a8d\u8b58\u3055\u308c\u307e\u305b\u3093\u3002"},
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
|
||||
"\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc ''{0}'' \u306f\u8a8d\u8b58\u3055\u308c\u307e\u3059\u304c\u3001\u8981\u6c42\u3055\u308c\u305f\u5024\u306f\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093\u3002"},
|
||||
|
||||
{MsgKey.ER_STRING_TOO_LONG,
|
||||
"\u7d50\u679c\u306e\u30b9\u30c8\u30ea\u30f3\u30b0\u304c\u9577\u3059\u304e\u308b\u305f\u3081\u3001DOMString \u5185\u306b\u53ce\u307e\u308a\u307e\u305b\u3093: ''{0}''\u3002"},
|
||||
|
||||
{MsgKey.ER_TYPE_MISMATCH_ERR,
|
||||
"\u3053\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u540d\u306e\u5024\u306e\u578b\u306f\u3001\u671f\u5f85\u3055\u308c\u308b\u5024\u306e\u578b\u3068\u4e0d\u9069\u5408\u3067\u3059\u3002"},
|
||||
|
||||
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
|
||||
"\u66f8\u304d\u8fbc\u307e\u308c\u308b\u30c7\u30fc\u30bf\u306e\u51fa\u529b\u5b9b\u5148\u304c\u30cc\u30eb\u3067\u3059\u3002"},
|
||||
|
||||
{MsgKey.ER_UNSUPPORTED_ENCODING,
|
||||
"\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u306a\u3044\u30a8\u30f3\u30b3\u30fc\u30c9\u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f\u3002"},
|
||||
|
||||
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
|
||||
"\u30ce\u30fc\u30c9\u3092\u76f4\u5217\u5316\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002"},
|
||||
|
||||
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
|
||||
"CDATA \u30bb\u30af\u30b7\u30e7\u30f3\u306b 1 \u3064\u4ee5\u4e0a\u306e\u7d42\u4e86\u30de\u30fc\u30ab\u30fc ']]>' \u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002"},
|
||||
|
||||
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
|
||||
"\u6574\u5f62\u5f0f\u6027\u30c1\u30a7\u30c3\u30ab\u30fc\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002 well-formed \u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u8a2d\u5b9a\u306f true \u3067\u3057\u305f\u304c\u3001\u6574\u5f62\u5f0f\u6027\u306e\u691c\u67fb\u306f\u5b9f\u884c\u3067\u304d\u307e\u305b\u3093\u3002"
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_INVALID_CHARACTER,
|
||||
"\u30ce\u30fc\u30c9 ''{0}'' \u306b\u7121\u52b9\u306a XML \u6587\u5b57\u304c\u3042\u308a\u307e\u3059\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
|
||||
"\u30b3\u30e1\u30f3\u30c8\u306e\u4e2d\u306b\u7121\u52b9\u306a XML \u6587\u5b57 (Unicode: 0x{0}) \u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
|
||||
"\u51e6\u7406\u547d\u4ee4\u30c7\u30fc\u30bf\u306e\u4e2d\u306b\u7121\u52b9\u306a XML \u6587\u5b57 (Unicode: 0x{0}) \u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
|
||||
"CDATA \u30bb\u30af\u30b7\u30e7\u30f3\u306e\u4e2d\u306b\u7121\u52b9\u306a XML \u6587\u5b57 (Unicode: 0x{0}) \u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
|
||||
"\u30ce\u30fc\u30c9\u306e\u6587\u5b57\u30c7\u30fc\u30bf\u306e\u5185\u5bb9\u306b\u7121\u52b9\u306a XML \u6587\u5b57 (Unicode: 0x{0}) \u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
|
||||
"''{1}'' \u3068\u3044\u3046\u540d\u524d\u306e {0} \u30ce\u30fc\u30c9\u306e\u4e2d\u306b\u7121\u52b9\u306a XML \u6587\u5b57\u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_DASH_IN_COMMENT,
|
||||
"\u30b9\u30c8\u30ea\u30f3\u30b0 \"--\" \u306f\u30b3\u30e1\u30f3\u30c8\u5185\u3067\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002"
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_LT_IN_ATTVAL,
|
||||
"\u8981\u7d20\u578b \"{0}\" \u306b\u95a2\u9023\u3057\u305f\u5c5e\u6027 \"{1}\" \u306e\u5024\u306b\u306f ''<'' \u6587\u5b57\u3092\u542b\u3081\u3066\u306f\u3044\u3051\u307e\u305b\u3093\u3002"
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
|
||||
"\u89e3\u6790\u5bfe\u8c61\u5916\u5b9f\u4f53\u53c2\u7167 \"&{0};\" \u306f\u8a31\u53ef\u3055\u308c\u307e\u305b\u3093\u3002"
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
|
||||
"\u5c5e\u6027\u5024\u3067\u306e\u5916\u90e8\u5b9f\u4f53\u53c2\u7167 \"&{0};\" \u306f\u8a31\u53ef\u3055\u308c\u307e\u305b\u3093\u3002"
|
||||
},
|
||||
|
||||
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
|
||||
"\u63a5\u982d\u90e8 \"{0}\" \u306f\u540d\u524d\u7a7a\u9593 \"{1}\" \u306b\u7d50\u5408\u3067\u304d\u307e\u305b\u3093\u3002"
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
|
||||
"\u8981\u7d20 \"{0}\" \u306e\u30ed\u30fc\u30ab\u30eb\u540d\u304c\u30cc\u30eb\u3067\u3059\u3002"
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
|
||||
"\u5c5e\u6027 \"{0}\" \u306e\u30ed\u30fc\u30ab\u30eb\u540d\u304c\u30cc\u30eb\u3067\u3059\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"\u5b9f\u4f53\u30ce\u30fc\u30c9 \"{0}\" \u306e\u7f6e\u63db\u30c6\u30ad\u30b9\u30c8\u306b\u3001\u672a\u7d50\u5408\u306e\u63a5\u982d\u90e8 \"{2}\" \u3092\u6301\u3064\u8981\u7d20\u30ce\u30fc\u30c9 \"{1}\" \u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"\u5b9f\u4f53\u30ce\u30fc\u30c9 \"{0}\" \u306e\u7f6e\u63db\u30c6\u30ad\u30b9\u30c8\u306b\u3001\u672a\u7d50\u5408\u306e\u63a5\u982d\u90e8 \"{2}\" \u3092\u6301\u3064\u5c5e\u6027\u30ce\u30fc\u30c9 \"{1}\" \u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002"
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
|
@ -3,9 +3,11 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
@ -200,6 +202,93 @@ public class SerializerMessages_ko extends ListResourceBundle {
|
||||
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
|
||||
"\uACBD\uACE0: \uC778\uCF54\uB529 ''{0}''\uC740(\uB294) Java \uB7F0\uD0C0\uC784\uC5D0 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4." },
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_FOUND,
|
||||
"''{0}'' \ub9e4\uac1c\ubcc0\uc218\ub97c \uc778\uc2dd\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
|
||||
"''{0}'' \ub9e4\uac1c\ubcc0\uc218\ub294 \uc778\uc2dd\ud560 \uc218 \uc788\uc73c\ub098 \uc694\uccad\ub41c \uac12\uc744 \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
|
||||
|
||||
{MsgKey.ER_STRING_TOO_LONG,
|
||||
"\uacb0\uacfc \ubb38\uc790\uc5f4\uc774 \ub108\ubb34 \uae38\uc5b4 DOMString\uc5d0 \ub9de\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4: ''{0}'' "},
|
||||
|
||||
{MsgKey.ER_TYPE_MISMATCH_ERR,
|
||||
"\uc774 \ub9e4\uac1c\ubcc0\uc218 \uc774\ub984\uc5d0 \ub300\ud55c \uac12 \uc720\ud615\uc774 \uc608\uc0c1 \uac12 \uc720\ud615\uacfc \ud638\ud658\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."},
|
||||
|
||||
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
|
||||
"\ub370\uc774\ud130\ub97c \uae30\ub85d\ud560 \ucd9c\ub825 \ub300\uc0c1\uc774 \ub110(null)\uc785\ub2c8\ub2e4."},
|
||||
|
||||
{MsgKey.ER_UNSUPPORTED_ENCODING,
|
||||
"\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc778\ucf54\ub529\uc774 \ubc1c\uacac\ub418\uc5c8\uc2b5\ub2c8\ub2e4."},
|
||||
|
||||
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
|
||||
"\ub178\ub4dc\ub97c \uc9c1\ub82c\ud654\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
|
||||
|
||||
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
|
||||
"CDATA \uc139\uc158\uc5d0 \uc885\ub8cc \ud45c\uc2dc \ubb38\uc790\uc778 ']]>'\uac00 \ud558\ub098 \uc774\uc0c1 \ud3ec\ud568\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4."},
|
||||
|
||||
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
|
||||
"Well-Formedness \uac80\uc0ac\uae30\uc758 \uc778\uc2a4\ud134\uc2a4\ub97c \uc791\uc131\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. Well-Formed \ub9e4\uac1c\ubcc0\uc218\uac00 true\ub85c \uc124\uc815\ub418\uc5c8\uc9c0\ub9cc Well-Formedness \uac80\uc0ac\ub97c \uc218\ud589\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_INVALID_CHARACTER,
|
||||
"''{0}'' \ub178\ub4dc\uc5d0 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 XML \ubb38\uc790\uac00 \uc788\uc2b5\ub2c8\ub2e4."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
|
||||
"\uc124\uba85\uc5d0 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 XML \ubb38\uc790(Unicode: 0x{0})\uac00 \uc788\uc2b5\ub2c8\ub2e4. "
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
|
||||
"\ucc98\ub9ac \uba85\ub839\uc5b4 \ub370\uc774\ud130\uc5d0 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 XML \ubb38\uc790(Unicode: 0x{0})\uac00 \uc788\uc2b5\ub2c8\ub2e4 "
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
|
||||
"CDATASection\uc758 \ub0b4\uc6a9\uc5d0 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 XML \ubb38\uc790(Unicode: 0x{0})\uac00 \uc788\uc2b5\ub2c8\ub2e4. "
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
|
||||
"\ub178\ub4dc\uc758 \ubb38\uc790 \ub370\uc774\ud130 \ub0b4\uc6a9\uc5d0 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 XML \ubb38\uc790(Unicode: 0x{0})\uac00 \uc788\uc2b5\ub2c8\ub2e4. "
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
|
||||
"\uc774\ub984\uc774 ''{1}''\uc778 {0} \ub178\ub4dc\uc5d0 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 XML \ubb38\uc790\uac00 \uc788\uc2b5\ub2c8\ub2e4. "
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_DASH_IN_COMMENT,
|
||||
"\uc124\uba85 \ub0b4\uc5d0\uc11c\ub294 \"--\" \ubb38\uc790\uc5f4\uc774 \ud5c8\uc6a9\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_LT_IN_ATTVAL,
|
||||
"\"{0}\" \uc694\uc18c \uc720\ud615\uacfc \uc5f0\uad00\ub41c \"{1}\" \uc18d\uc131\uac12\uc5d0 ''<'' \ubb38\uc790\uac00 \ud3ec\ud568\ub418\uba74 \uc548\ub429\ub2c8\ub2e4."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
|
||||
"\"&{0};\"\uc758 \uad6c\ubd84 \ubd84\uc11d\ub418\uc9c0 \uc54a\uc740 \uc5d4\ud2f0\ud2f0 \ucc38\uc870\ub294 \ud5c8\uc6a9\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. "
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
|
||||
"\uc18d\uc131\uac12\uc5d0\ub294 \"&{0};\" \uc678\ubd80 \uc5d4\ud2f0\ud2f0 \ucc38\uc870\uac00 \ud5c8\uc6a9\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. "
|
||||
},
|
||||
|
||||
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
|
||||
"\"{0}\" \uc811\ub450\ubd80\ub97c \"{1}\" \uc774\ub984 \uacf5\uac04\uc5d0 \ubc14\uc778\ub4dc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
|
||||
"\"{0}\" \uc694\uc18c\uc758 \ub85c\uceec \uc774\ub984\uc774 \ub110(null)\uc785\ub2c8\ub2e4."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
|
||||
"\"{0}\" \uc18d\uc131\uc758 \ub85c\uceec \uc774\ub984\uc774 \ub110(null)\uc785\ub2c8\ub2e4."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"\"{0}\" \uc5d4\ud2f0\ud2f0 \ub178\ub4dc\uc758 \ub300\uccb4 \ud14d\uc2a4\ud2b8\uc5d0 \ubc14\uc778\ub4dc\ub418\uc9c0 \uc54a\uc740 \uc811\ub450\ubd80 \"{2}\"\uc744(\ub97c) \uac16\ub294 \"{1}\" \uc694\uc18c \ub178\ub4dc\uac00 \uc788\uc2b5\ub2c8\ub2e4."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"\"{0}\" \uc5d4\ud2f0\ud2f0 \ub178\ub4dc\uc758 \ub300\uccb4 \ud14d\uc2a4\ud2b8\uc5d0 \ubc14\uc778\ub4dc\ub418\uc9c0 \uc54a\uc740 \uc811\ub450\ubd80 \"{2}\"\uc744(\ub97c) \uac16\ub294 \"{1}\" \uc18d\uc131 \ub178\ub4dc\uac00 \uc788\uc2b5\ub2c8\ub2e4."
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
|
@ -3,9 +3,11 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
@ -200,6 +202,93 @@ public class SerializerMessages_pt_BR extends ListResourceBundle {
|
||||
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
|
||||
"Advert\u00EAncia: a codifica\u00E7\u00E3o ''{0}'' n\u00E3o \u00E9 suportada pelo Java runtime." },
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_FOUND,
|
||||
"O par\u00e2metro ''{0}'' n\u00e3o \u00e9 reconhecido."},
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
|
||||
"O par\u00e2metro ''{0}'' \u00e9 reconhecido, mas o valor pedido n\u00e3o pode ser definido. "},
|
||||
|
||||
{MsgKey.ER_STRING_TOO_LONG,
|
||||
"A cadeia resultante \u00e9 muito longa para caber em uma DOMString: ''{0}''. "},
|
||||
|
||||
{MsgKey.ER_TYPE_MISMATCH_ERR,
|
||||
"O tipo de valor para este nome de par\u00e2metro \u00e9 incompat\u00edvel com o tipo de valor esperado. "},
|
||||
|
||||
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
|
||||
"O destino de sa\u00edda para os dados a serem gravados era nulo. "},
|
||||
|
||||
{MsgKey.ER_UNSUPPORTED_ENCODING,
|
||||
"Uma codifica\u00e7\u00e3o n\u00e3o suportada foi encontrada. "},
|
||||
|
||||
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
|
||||
"O n\u00f3 n\u00e3o p\u00f4de ser serializado."},
|
||||
|
||||
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
|
||||
"A Se\u00e7\u00e3o CDATA cont\u00e9m um ou mais marcadores de t\u00e9rmino ']]>'."},
|
||||
|
||||
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
|
||||
"Uma inst\u00e2ncia do verificador Well-Formedness n\u00e3o p\u00f4de ser criada. O par\u00e2metro well-formed foi definido como true, mas a verifica\u00e7\u00e3o well-formedness n\u00e3o pode ser executada."
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_INVALID_CHARACTER,
|
||||
"O n\u00f3 ''{0}'' cont\u00e9m caracteres XML inv\u00e1lidos. "
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
|
||||
"Um caractere XML inv\u00e1lido (Unicode: 0x{0}) foi encontrado no coment\u00e1rio. "
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
|
||||
"Um caractere XML inv\u00e1lido (Unicode: 0x{0}) foi encontrado no processo instructiondata."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
|
||||
"Um caractere XML inv\u00e1lido (Unicode: 0x{0}) foi encontrado nos conte\u00fados do CDATASection. "
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
|
||||
"Um caractere XML inv\u00e1lido (Unicode: 0x{0}) foi encontrado no conte\u00fado dos dados de caractere dos n\u00f3s. "
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
|
||||
"Um caractere inv\u00e1lido foi encontrado no {0} do n\u00f3 denominado ''{1}''."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_DASH_IN_COMMENT,
|
||||
"A cadeia \"--\" n\u00e3o \u00e9 permitida dentro dos coment\u00e1rios. "
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_LT_IN_ATTVAL,
|
||||
"O valor do atributo \"{1}\" associado a um tipo de elemento \"{0}\" n\u00e3o deve conter o caractere ''<''. "
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
|
||||
"A refer\u00eancia de entidade n\u00e3o analisada \"&{0};\" n\u00e3o \u00e9 permitida. "
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
|
||||
"A refer\u00eancia de entidade externa \"&{0};\" n\u00e3o \u00e9 permitida em um valor de atributo. "
|
||||
},
|
||||
|
||||
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
|
||||
"O prefixo \"{0}\" n\u00e3o pode ser vinculado ao espa\u00e7o de nomes \"{1}\"."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
|
||||
"O nome local do elemento \"{0}\" \u00e9 nulo."
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
|
||||
"O nome local do atributo \"{0}\" \u00e9 nulo."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"O texto de substitui\u00e7\u00e3o do n\u00f3 de entidade \"{0}\" cont\u00e9m um n\u00f3 de elemento \"{1}\" com um prefixo n\u00e3o vinculado \"{2}\"."
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"O texto de substitui\u00e7\u00e3o do n\u00f3 de entidade \"{0}\" cont\u00e9m um n\u00f3 de atributo \"{1}\" com um prefixo n\u00e3o vinculado \"{2}\"."
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
|
@ -3,9 +3,11 @@
|
||||
* DO NOT REMOVE OR ALTER!
|
||||
*/
|
||||
/*
|
||||
* Copyright 2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
@ -200,6 +202,93 @@ public class SerializerMessages_zh_TW extends ListResourceBundle {
|
||||
{ MsgKey.ER_ENCODING_NOT_SUPPORTED,
|
||||
"\u8B66\u544A: Java Runtime \u4E0D\u652F\u63F4\u7DE8\u78BC ''{0}''\u3002" },
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_FOUND,
|
||||
"\u7121\u6cd5\u8fa8\u8b58\u53c3\u6578 ''{0}''\u3002"},
|
||||
|
||||
{MsgKey.ER_FEATURE_NOT_SUPPORTED,
|
||||
"\u53ef\u8fa8\u8b58 ''{0}'' \u53c3\u6578\uff0c\u4f46\u6240\u8981\u6c42\u7684\u503c\u7121\u6cd5\u8a2d\u5b9a\u3002"},
|
||||
|
||||
{MsgKey.ER_STRING_TOO_LONG,
|
||||
"\u7d50\u679c\u5b57\u4e32\u904e\u9577\uff0c\u7121\u6cd5\u7f6e\u5165 DOMString: ''{0}'' \u4e2d\u3002"},
|
||||
|
||||
{MsgKey.ER_TYPE_MISMATCH_ERR,
|
||||
"\u9019\u500b\u53c3\u6578\u540d\u7a31\u7684\u503c\u985e\u578b\u8207\u671f\u671b\u503c\u985e\u578b\u4e0d\u76f8\u5bb9\u3002"},
|
||||
|
||||
{MsgKey.ER_NO_OUTPUT_SPECIFIED,
|
||||
"\u8cc7\u6599\u8981\u5beb\u5165\u7684\u8f38\u51fa\u76ee\u7684\u5730\u70ba\u7a7a\u503c\u3002"},
|
||||
|
||||
{MsgKey.ER_UNSUPPORTED_ENCODING,
|
||||
"\u767c\u73fe\u4e0d\u652f\u63f4\u7684\u7de8\u78bc\u3002"},
|
||||
|
||||
{MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
|
||||
"\u7bc0\u9ede\u7121\u6cd5\u5e8f\u5217\u5316\u3002"},
|
||||
|
||||
{MsgKey.ER_CDATA_SECTIONS_SPLIT,
|
||||
"CDATA \u5340\u6bb5\u5305\u542b\u4e00\u6216\u591a\u500b\u7d42\u6b62\u6a19\u8a18 ']]>'\u3002"},
|
||||
|
||||
{MsgKey.ER_WARNING_WF_NOT_CHECKED,
|
||||
"\u7121\u6cd5\u5efa\u7acb\u300c\u5f62\u5f0f\u5b8c\u6574\u300d\u6aa2\u67e5\u7a0b\u5f0f\u7684\u5be6\u4f8b\u3002Well-formed \u53c3\u6578\u96d6\u8a2d\u70ba true\uff0c\u4f46\u7121\u6cd5\u57f7\u884c\u5f62\u5f0f\u5b8c\u6574\u6aa2\u67e5\u3002"
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_INVALID_CHARACTER,
|
||||
"\u7bc0\u9ede ''{0}'' \u5305\u542b\u7121\u6548\u7684 XML \u5b57\u5143\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
|
||||
"\u5728\u8a3b\u89e3\u4e2d\u767c\u73fe\u7121\u6548\u7684 XML \u5b57\u5143 (Unicode: 0x{0})\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
|
||||
"\u5728\u8655\u7406\u7a0b\u5e8f instructiondata \u4e2d\u767c\u73fe\u7121\u6548\u7684 XML \u5b57\u5143 (Unicode: 0x{0})\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
|
||||
"\u5728 CDATASection \u7684\u5167\u5bb9\u4e2d\u767c\u73fe\u7121\u6548\u7684 XML \u5b57\u5143 (Unicode: 0x{0})\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
|
||||
"\u5728\u7bc0\u9ede\u7684\u5b57\u5143\u8cc7\u6599\u5167\u5bb9\u4e2d\u767c\u73fe\u7121\u6548\u7684 XML \u5b57\u5143 (Unicode: 0x{0})\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
|
||||
"\u5728\u540d\u70ba ''{1}'' \u7684 ''{0}'' \u4e2d\u767c\u73fe\u7121\u6548\u7684 XML \u5b57\u5143\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_WF_DASH_IN_COMMENT,
|
||||
"\u8a3b\u89e3\u4e2d\u4e0d\u5141\u8a31\u4f7f\u7528\u5b57\u4e32 \"--\"\u3002"
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_LT_IN_ATTVAL,
|
||||
"\u8207\u5143\u7d20\u985e\u578b \"{0}\" \u76f8\u95dc\u806f\u7684\u5c6c\u6027 \"{1}\" \u503c\u4e0d\u53ef\u5305\u542b ''<'' \u5b57\u5143\u3002"
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
|
||||
"\u4e0d\u5141\u8a31\u4f7f\u7528\u672a\u5256\u6790\u7684\u5be6\u9ad4\u53c3\u7167 \"&{0};\"\u3002"
|
||||
},
|
||||
|
||||
{MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
|
||||
"\u5c6c\u6027\u503c\u4e2d\u4e0d\u5141\u8a31\u4f7f\u7528\u5916\u90e8\u5be6\u9ad4\u53c3\u7167 \"&{0};\"\u3002"
|
||||
},
|
||||
|
||||
{MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
|
||||
"\u5b57\u9996 \"{0}\" \u7121\u6cd5\u9023\u7d50\u5230\u540d\u7a31\u7a7a\u9593 \"{1}\"\u3002"
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
|
||||
"\u5143\u7d20 \"{0}\" \u7684\u672c\u7aef\u540d\u7a31\u662f\u7a7a\u503c\u3002"
|
||||
},
|
||||
|
||||
{MsgKey.ER_NULL_LOCAL_ATTR_NAME,
|
||||
"\u5c6c\u6027 \"{0}\" \u7684\u672c\u7aef\u540d\u7a31\u662f\u7a7a\u503c\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"\u5be6\u9ad4\u7bc0\u9ede \"{0}\" \u7684\u53d6\u4ee3\u6587\u5b57\u5305\u542b\u9644\u6709\u5df2\u5207\u65b7\u9023\u7d50\u5b57\u9996 \"{2}\" \u7684\u5143\u7d20\u7bc0\u9ede \"{1}\"\u3002"
|
||||
},
|
||||
|
||||
{ MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
|
||||
"\u5be6\u9ad4\u7bc0\u9ede \"{0}\" \u7684\u53d6\u4ee3\u6587\u5b57\u5305\u542b\u9644\u6709\u5df2\u5207\u65b7\u9023\u7d50\u5b57\u9996 \"{2}\" \u7684\u5c6c\u6027\u7bc0\u9ede \"{1}\"\u3002"
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
|
@ -43,7 +43,7 @@ package org.w3c.dom.ranges;
|
||||
|
||||
/**
|
||||
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
||||
* @since DOM Level 2
|
||||
* @since 1.9, DOM Level 2
|
||||
*/
|
||||
public interface DocumentRange {
|
||||
/**
|
||||
|
@ -47,7 +47,7 @@ import org.w3c.dom.DocumentFragment;
|
||||
|
||||
/**
|
||||
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
||||
* @since DOM Level 2
|
||||
* @since 1.9, DOM Level 2
|
||||
*/
|
||||
public interface Range {
|
||||
/**
|
||||
|
@ -45,7 +45,7 @@ package org.w3c.dom.ranges;
|
||||
* Range operations may throw a <code>RangeException</code> as specified in
|
||||
* their method descriptions.
|
||||
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
||||
* @since DOM Level 2
|
||||
* @since 1.9, DOM Level 2
|
||||
*/
|
||||
public class RangeException extends RuntimeException {
|
||||
public RangeException(short code, String message) {
|
||||
|
@ -53,7 +53,7 @@ import org.w3c.dom.DOMException;
|
||||
* Traversal feature, <code>DocumentTraversal</code> will be implemented by
|
||||
* the same objects that implement the Document interface.
|
||||
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
||||
* @since DOM Level 2
|
||||
* @since 1.9, DOM Level 2
|
||||
*/
|
||||
public interface DocumentTraversal {
|
||||
/**
|
||||
|
@ -59,7 +59,7 @@ import org.w3c.dom.Node;
|
||||
* filter may be used with a number of different kinds of traversals,
|
||||
* encouraging code reuse.
|
||||
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
||||
* @since DOM Level 2
|
||||
* @since 1.9, DOM Level 2
|
||||
*/
|
||||
public interface NodeFilter {
|
||||
// Constants returned by acceptNode
|
||||
|
@ -55,7 +55,7 @@ import org.w3c.dom.DOMException;
|
||||
* <code>NodeIterators</code> are created by calling
|
||||
* <code>DocumentTraversal</code><code>.createNodeIterator()</code>.
|
||||
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
||||
* @since DOM Level 2
|
||||
* @since 1.9, DOM Level 2
|
||||
*/
|
||||
public interface NodeIterator {
|
||||
/**
|
||||
|
@ -60,7 +60,7 @@ import org.w3c.dom.DOMException;
|
||||
* nodes will be siblings and appear as direct children of the root node, no
|
||||
* matter how deeply nested the structure of the original document.
|
||||
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
||||
* @since DOM Level 2
|
||||
* @since 1.9, DOM Level 2
|
||||
*/
|
||||
public interface TreeWalker {
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user