From f3e67f694188a16e426e92fda846998fd26db50d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 12 Jan 2010 15:14:06 +0200 Subject: Include file component in regex strings for schema being compiled --- documentation/xsd.xhtml | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) (limited to 'documentation/xsd.xhtml') diff --git a/documentation/xsd.xhtml b/documentation/xsd.xhtml index 99c19b0..1f1c5f8 100644 --- a/documentation/xsd.xhtml +++ b/documentation/xsd.xhtml @@ -172,19 +172,16 @@

filename namespace

-

For example,

- -

XMLSchema.xsd http://www.w3.org/2001/XMLSchema

- -

The filename for the current translation unit - is empty. For example, if you have file hello.xsd +

For example, if you have file hello.xsd with namespace http://example.com/hello and you run xsd on this file, then the string in question - would be:

+ will be:

-

 http://example.com/hello

+

hello.xsd. http://example.com/hello

-

Note the leading space.

+

For the built-in XML Schema namespace the string is:

+ +

XMLSchema.xsd http://www.w3.org/2001/XMLSchema

The following three steps are performed for each regular expression until the match is found:

@@ -517,21 +514,11 @@

filename namespace xpath

-

For example,

+

For instance:

hello.xsd http://example.com/hello element

hello.xsd http://example.com/hello type/element

-

The filename for the current translation unit - is empty. For example, if you have file hello.xsd - with namespace http://example.com/hello and you run - xsd on this file, then the string in question - would be:

- -

 http://example.com/hello element

- -

Note the leading space.

-

As an example, the following expression makes all the derived names start with capital letters. This could be useful when your naming convention requires type names to start with -- cgit v1.1